Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed HTTPS mixed content warnings and errors #67

Merged
merged 5 commits into from Aug 19, 2016

Conversation

luccioman
Copy link
Member

This is a fix for the issue described in mantis 680 (http://mantis.tokeek.de/view.php?id=680). Browsers warn and even block some contents when using HTTPS with the YaCy web interface.

Fix applied as described in mantis additional information.

Test configuration :

  • YaCy peer : Linux Debian Jessie
  • local browsing : Firefox 45.3.0
  • remote browsing : Firefox 48.0 and Chrome 52.0.2743 on Windows 10

Also refactored the related code :
- extracted it in a method
- catch Exception and log it, rather than Throwable which is bad
practice
Handle eventual images loading errors.
Also disabled currently not working URLs.
https://github.com/luccioman/yacy_search_server.git into mixedcontent

Conflicts:
	source/net/yacy/yacy.java
We now use the same protocol as the one used to display the config page
: so when using https, the content is not blocked by the browser
detecting mixed-content.
luccioman referenced this pull request Aug 17, 2016
!!! attention !!! to make sure YaCy can start, https will be disabled if port 8443 is used
   - added ping test for above to migration 

- as of now port for https is hardcoded to default 8443
- if not urgend required I'd leave it this way (it's standard) to use different ports for http and https 

- post https port on ConfigBasic.html (if active)
@reger24 reger24 merged commit 28a608c into yacy:master Aug 19, 2016
@luccioman luccioman deleted the mixedcontent branch September 7, 2016 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants