Issue Type: Bug Bug
Affects Versions: 2.2.x
Assignee: Andrea Aime
Attachments: metadataUrlPatch.diff
Components: WMS
Created: 13/Jun/12 5:24 PM
Description:

There are two issues with the URL in the capabilities document if localhost is in the metadata URL for a layer. (1) The KVP query is chopped off and (2) if the URL path points somewhere different than the path of the Proxy Base URL then the URL is wrong. I attached a patch that addresses both issues.

Here is an example:

Proxy Base URL:
https://example.com/geoserver

Metadata URL (layer):
http://localhost:8080/metdata?key1=value1&key2=value2

Metadata URL (capabilities):
https://example.com/geoserver/metadata

Should Be:
https://example.com/metadata?key1=value1&key2=value2

Project: GeoServer
Priority: Minor Minor
Reporter: Michael Romero
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to