tronghuyict56 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

HTTP proxy incorrectly handles http/https port in image URL #458

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. connect to openHAB port 8080
2. make a GET request for sitemap (GET /rest/sitemaps/demo/0400 HTTP/1.0)
3. specify a Host header in GET request (Host: my.host.com)
4. in the sitemap response you will see that proxy will set image url to 
http://my.host.com:-1/blahblahblah

Original issue reported on code.google.com by belovic...@gmail.com on 17 Sep 2013 at 8:30

GoogleCodeExporter commented 9 years ago
Fixed with changeset 
https://code.google.com/p/openhab/source/detail?r=4084821752848c2f4392bc14c432f8
0951efb116&name=1.3.1

Original comment by kai.openhab on 18 Sep 2013 at 8:16