kennychou0529 / openhab

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

Local resources proxy doesn't work in REST API #325

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure an Image widget in sitemap with URL pointing to 
http://localhost...something
2. Open corresponding sitemap through REST interface 
(/rest/sitemaps/<sitemapname>/<sitemapname>
3. The widget rendered in response still have http://localhost...something URL 
which can't be displayed by apps which use REST API.

It is expected that openHAB will change this URL to a proxy servlet URL

While using classic UI from a computer on the same network different from the 
one running openHAB instance the same Image widget is shown correctly, so I 
assume it works for classic UI but doesn't for REST API ...

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

GoogleCodeExporter commented 9 years ago

Original comment by teichsta on 13 Aug 2013 at 4:16

GoogleCodeExporter commented 9 years ago
As far as I am aware, this is fixed since a while.

Original comment by kai.openhab on 7 Dec 2013 at 9:07