mirror of
https://github.com/rkd77/elinks.git
synced 2025-09-21 19:46:23 -04:00
[ecmascript] move visited allowed url to the begining of list.
This commit is contained in:
@@ -134,6 +134,7 @@ get_ecmascript_enable(struct ecmascript_interpreter *interpreter)
|
||||
}
|
||||
if (!is_prefix(string->source, url, string->length)) {
|
||||
mem_free(url);
|
||||
move_to_top_of_list(allowed_urls, item);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user