Added comment
This commit is contained in:
parent
81c7b28c62
commit
3735db9ded
|
@ -44,6 +44,12 @@ public class SanitizedURL {
|
|||
if(testPostFix.matches(CHARACTERS_TO_REMOVE)) {
|
||||
postfix = urlString.substring(urlString.length()-1) + postfix;
|
||||
urlString = urlString.substring(0, urlString.length()-1);
|
||||
|
||||
/*
|
||||
* The urlString could terminate with more than one character to be escaped
|
||||
* So we need to further analyse the sanitised URL
|
||||
* e.g. 'https://data.d4science.net/tfXA),' terminates with '),'
|
||||
*/
|
||||
urlString = stripPostfix(urlString);
|
||||
}
|
||||
return urlString;
|
||||
|
|
Loading…
Reference in New Issue