Change URI of webframe instead of webview (#146).
authorDaniel Carl <danielcarl@gmx.de>
Fri, 28 Nov 2014 08:18:59 +0000 (09:18 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 28 Nov 2014 08:18:59 +0000 (09:18 +0100)
commit4d36bd9ea987e20bb7cac93bb53df20225c4642d
treee70d9c84bb87e1120d4d495d0a67a93f9310d706
parentccdbeebae601e584786cb8d8114797e357c6a288
Change URI of webframe instead of webview (#146).

To change to URI of the webview does not work if the page contains a frame
with a URI to a host that will be changed to https for the HSTS. In this case
the frame URI is used as page URL, so that the user does not see the page he
requested.
Instead the URI of the webframe should be changed. Thanks to Sébastien Marie
for pointing this out.
src/main.c