mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-06 01:24:20 +03:00
[project @ 2005-03-20 20:38:40 by jmb]
Fix stupidity relating to URL matching svn path=/import/netsurf/; revision=1556
This commit is contained in:
parent
7cf3d4dde2
commit
452629ab85
@ -197,7 +197,9 @@ void browser_window_go_post(struct browser_window *bw, const char *url,
|
||||
*/
|
||||
if (bw->current_content &&
|
||||
strncasecmp(bw->current_content->url,
|
||||
url2, hash - url2) == 0) {
|
||||
url2, hash - url2) == 0 &&
|
||||
strlen(bw->current_content->url) ==
|
||||
(unsigned int)(hash - url2)) {
|
||||
free(url2);
|
||||
browser_window_update(bw, false);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user