diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-24 14:29:00 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-25 22:08:40 +0200 |
commit | a39ce5d20d540b2a12a36ad5cf5f058999fcb4bf (patch) | |
tree | 53aa50dbe17ce3783d21cbbfe79e2d9536656098 /test/html/render/meta-refresh-0-no-url.ref.html | |
parent | 06f9083bdeb085b7b9de762fa029f6519e142dbe (diff) |
Ignore meta refresh content without URL
The content="0" attribute was wrongly parsed as the URL "0". The change
makes the parser ignore a redirect with a content value that doesn't
have ";" or "url=" after the delay number.
Fixes: https://github.com/dillo-browser/dillo/issues/204
Diffstat (limited to 'test/html/render/meta-refresh-0-no-url.ref.html')
-rw-r--r-- | test/html/render/meta-refresh-0-no-url.ref.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/html/render/meta-refresh-0-no-url.ref.html b/test/html/render/meta-refresh-0-no-url.ref.html new file mode 100644 index 00000000..12ac12bc --- /dev/null +++ b/test/html/render/meta-refresh-0-no-url.ref.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> + <head> + <title>Test meta refresh 0 without URL</title> + </head> + <body> + <p>Should be ignored.</p> + </body> +</html> |