diff options
Diffstat (limited to 'desktop/browser.c')
-rw-r--r-- | desktop/browser.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 61d2cc490..eb354d047 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -197,9 +197,10 @@ void browser_window_go_post(struct browser_window *bw, const char *url, if (hash) { bw->frag_id = strdup(hash+1); /* if we're simply moving to another ID on the same page, - * don't bother to fetch, just update the window + * don't bother to fetch, just update the window. */ - if (bw->current_content && bw->current_content->url && + if (!post_urlenc && !post_multipart && !strchr(url2, '?') && + bw->current_content && bw->current_content->url && strncasecmp(bw->current_content->url, url2, hash - url2) == 0 && strlen(bw->current_content->url) == |