Browse code

bb #497

git-svn: trunk@3077

Török Edvin authored on 2007/05/30 01:11:42
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue May 29 17:07:08 CEST 2007 (edwin)
2
+----------------------------------
3
+  * libclamav/phishcheck.c: bb #497
4
+
1 5
 Tue May 29 17:07:08 CEST 2007 (tk)
2 6
 ----------------------------------
3 7
   * docs: various fixes, thanks to Fabio Pedretti <pedretti*eco.unibs.it>
... ...
@@ -200,12 +200,13 @@ static const size_t https_len  = sizeof(https)-1;
200 200
 #define URI_xpalpha_nodot URI_xalpha_nodot"|\\+"
201 201
 #define URI_xpalphas "("URI_xpalpha")+"
202 202
 #define URI_xpalphas_nodot "("URI_xpalpha_nodot")+"
203
+#define optional_URI_xpalphas "("URI_xpalpha"|=)*"
203 204
 
204 205
 #define URI_scheme URI_ialpha
205 206
 #define URI_tld iana_tld
206 207
 #define URI_path1 URI_xpalphas_nodot"\\.("URI_xpalphas_nodot"\\.)*"
207 208
 #define URI_path2 URI_tld
208
-#define URI_path3 "(/("URI_xpalphas"/?)*)?"
209
+#define URI_path3 "(/"optional_URI_xpalphas")*"
209 210
 
210 211
 #define URI_search "("URI_xalphas"\\+)*"
211 212
 #define URI_fragmentid URI_xalphas