Hello,

meta refresh handling is broken in the trunk ( at least for
http://www.monochrom.net). This small patch fixes the problem. Please
verify the correctness of the change for other cases than
http://www.monochrom.net ...

Here is the output of svn diff:

Index: html.c
===================================================================
--- html.c      (Revision 13871)
+++ html.c      (Arbeitskopie)
@@ -734,7 +734,7 @@
        }

        /* '"' or "'" or *LWS (we don't care) */
-       if (url < end) {
+       if (url <= end) {
                new_url = strndup(refresh, url - refresh);
                if (new_url == NULL) {
                        dom_string_unref(content);



-- 
Greets,
Ole
Index: html.c
===================================================================
--- html.c	(Revision 13871)
+++ html.c	(Arbeitskopie)
@@ -734,7 +734,7 @@
 	}
 
 	/* '"' or "'" or *LWS (we don't care) */
-	if (url < end) {
+	if (url <= end) {
 		new_url = strndup(refresh, url - refresh);
 		if (new_url == NULL) {
 			dom_string_unref(content);

Reply via email to