From a91cd779021852dbe8160b63150773023d0d7c33 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 14 Feb 2005 22:35:05 +0000 Subject: [project @ 2005-02-14 22:35:05 by jmb] Fix bug in regex svn path=/import/netsurf/; revision=1513 --- utils/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/url.c b/utils/url.c index 7600a1375..256cdc4ba 100644 --- a/utils/url.c +++ b/utils/url.c @@ -37,7 +37,7 @@ void url_init(void) "(\\?([^#[:space:]]*))?(#([^[:space:]]*))?" "[[:space:]]*$", REG_EXTENDED); regcomp_wrapper(&url_up_re, - "/([^/]|[.][^./]|[^./][.]|[^/][^/][^/]+)/[.][.](/|$)", + "/([^/]|[.][^./]|[^./][.]|[^/][^/][^/]+)?/[.][.](/|$)", REG_EXTENDED); regcomp_wrapper(&url_nice_re, "^([^.]{0,4}[.])?([^.][^.][.])?([^/?&;.=]*)" -- cgit v1.2.3