diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-03 15:56:47 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-03 15:56:47 +0000 |
commit | 36eff6da2bfe5b183c2b4876bb2afe9dedec9b39 (patch) | |
tree | 6cc96c71499d22745947113db5c6fc118c286d1f /render/form.c | |
parent | a595d7c4bbe44f7de6c565a4fbbdcff735f0ce99 (diff) | |
download | netsurf-36eff6da2bfe5b183c2b4876bb2afe9dedec9b39.tar.gz netsurf-36eff6da2bfe5b183c2b4876bb2afe9dedec9b39.tar.bz2 |
Port more internals to nsurl. Front ends may need updating.
svn path=/trunk/netsurf/; revision=12926
Diffstat (limited to 'render/form.c')
-rw-r--r-- | render/form.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/render/form.c b/render/form.c index b47d39a22..ac5dbe9cc 100644 --- a/render/form.c +++ b/render/form.c @@ -1500,7 +1500,8 @@ void form_submit(hlcache_handle *h, struct browser_window *target, url_destroy_components(&components); - browser_window_go(target, url, content_get_url(h), true); + browser_window_go(target, url, nsurl_access(content_get_url(h)), + true); break; case method_POST_URLENC: @@ -1512,13 +1513,13 @@ void form_submit(hlcache_handle *h, struct browser_window *target, } browser_window_go_post(target, form->action, data, 0, - true, content_get_url(h), + true, nsurl_access(content_get_url(h)), false, true, 0); break; case method_POST_MULTIPART: browser_window_go_post(target, form->action, 0, - success, true, content_get_url(h), + success, true, nsurl_access(content_get_url(h)), false, true, 0); break; } |