commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Crum <>
Subject [validator] Inconsistent behavior in UrlValidator
Date Fri, 25 Sep 2015 21:18:43 GMT
I was just looking at the UrlValidator test and I noticed that localhost 
is allowed in the URL if the ALLOW_LOCAL_URLS flag is set, and it is not 
allowed if the ALLOW_LOCAL_URLS flag is not set.

If the ALLOW_LOCAL_URLS is not set, a loopback IP address ( 
URL will validate. It seems to me that it shouldn't - to be consistent 
with the localhost behavior.

What do you think?

Adrian Crum
Sandglass Software

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message