Think this this would find all the allowable: (..?..)
Pattern.compile("file:(\\w|\\d|-|_|\\.|!|~|\\*|\'|\\(|\\))+WEB-INF/");//
(earlier post on the matter)
RFC 2396
RFC 1738
RFC 1808
RFC 1630
And what is enc in:
static String decode(String s, String enc)
Decodes a application/x-www-form-urlencoded string using a specific encoding scheme.
Are they talking about
application/x-www-form-urlencoded...?...
{ message additional information from test build:
}
// Okay, this should be our name.
String string = this.getClass().getName();
string.replaceAll("\\.", "/");
// Normal sanity check.
if(string != null)
{
//
ce79a43b0673a1.append(FileDog.this.getClass().getResource("/" + string + ".class"));
java.net.URL ab277d49021f= new java.net.URL(ce79a43b0673a1.toString());
//
java.util.regex.Pattern pitterPatter = java.util.regex.Pattern.compile("file:(/|\\w|\\d|-|_|\\.|!|~|\\*|\'|\\(|\\))+WEB-INF/");//
//
String cc09566 = new String(java.nio.charset.Charset.defaultCharset().toString());
String l1434be = new String(java.net.URLDecoder.decode(ab277d49021f.toExternalForm(),cc09566));
/****** here we go... ******/
java.util.regex.Matcher d572b093064 = pitterPatter.matcher(l1434be);
// If we captured state of where we are at ....
while(d572b093064.find())
{
//
ce79a43b0673a1.append(d572b093064.group());
isValid=Boolean.valueOf(true);//
}
return ce79a43b0673a1.toString();//
}
// prints: file:/C:/Documents%20and%20Settings/Owner/.Arachnophilia/CustomClasses/FileDog.class