View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000669YaCy[All Projects] Generalpublic2016-07-05 12:372016-07-11 03:00
Assigned ToBuBu 
PlatformOSOS Version
Product VersionYaCy 1.8 
Target VersionFixed in Version 
Summary0000669: opensearchdescription.xml wrong generated when using SSL on port 443
DescriptionWhen enabling SSL on Yacy server on port 443 (not 8443), the opensearchdescription.xml contains wrong generated UTLs preventing users to use Yacy as an new search provider in their browser.

The URLs wrong generated look all like:

https://example.com:80/..... [^]

but should onlybe

https://example.com/..... [^]

The best would be to use:

https://example.com [^] if server.https=true and port.ssl=443

https://example.com:<port.ssl [^] variable in yacy.conf> if server.https=true and port.ssl<>443

http://example.com [^] if server.https=false and port=80

http://example.com:<port [^] variable in yacy.conf> if server.https=false and port<>80
Steps To ReproduceSetting:


Result: [^]
or [^]

the variable


gets expanded to

https://example.com:80 [^]

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
BuBu (developer)
2016-07-09 21:21

The base idea of the opensearchdescription servlet was to return a address the request was made on.
So, request on http -> return http://
    request on https -> return https://
but currently only http is returned.
The proposed fix would return https (only) if https avail/switched on.

we should likely check how to fix and keep the base idea.
BuBu (developer)
2016-07-11 03:00

Improved in v1.91/9012
commit https://github.com/yacy/yacy_search_server/commit/a9527877121e6445095e9a68946658cd56043bc7 [^]

Improvement: no wrong protocol/port combination (returns address it was called on).
Not 100% desired... if http and https are default ports (80/443), http link is returned.

- Issue History
Date Modified Username Field Change
2016-07-05 12:37 webproject New Issue
2016-07-09 21:21 BuBu Note Added: 0001260
2016-07-09 21:21 BuBu Status new => confirmed
2016-07-11 03:00 BuBu Note Added: 0001261
2016-07-11 03:00 BuBu Status confirmed => resolved
2016-07-11 03:00 BuBu Resolution open => fixed
2016-07-11 03:00 BuBu Assigned To => BuBu

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker