mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-01 16:54:30 +03:00
Fix meta refresh.
svn path=/trunk/netsurf/; revision=13876
This commit is contained in:
parent
cc35563f2b
commit
8202875dbb
@ -734,7 +734,8 @@ static bool html_meta_refresh_process_element(html_content *c, dom_node *n)
|
||||
}
|
||||
|
||||
/* '"' or "'" or *LWS (we don't care) */
|
||||
if (url < end) {
|
||||
if (url > refresh) {
|
||||
/* There's a URL */
|
||||
new_url = strndup(refresh, url - refresh);
|
||||
if (new_url == NULL) {
|
||||
dom_string_unref(content);
|
||||
|
Loading…
Reference in New Issue
Block a user