java - How to have the partial Lowercase Decoding the URL? -


i have encoded link. after decoding

string decodedurl = urldecoder.decode(encodedlink, "utf-8"); string delims = "[u, &]"; string[] splittedurl = decodedurl.split(delims); string resulturl = splittedurl[1].substring(1); 

i next link:

http://example.com?i=vnjwawaaaabfva85agaaaabr%2fv%2f%2f%2fwd%2f%2f%2f%2f%2fbgnhdnma%2f%2f%2f%2f%2f%2f%2f%2f%2f%2f8%3d 

but in part:

%2fv%2f%2f%2fwd%2f%2f%2f%2f%2fbgnhdnma%2f%2f%2f%2f%2f%2f%2f%2f%2f%2f8%3d 

i need have "f" , "d" letters in lowercase: f -> f, d -> d. possible perform decoding after letters in lowercase without splitting decoded link , make necessary letters

.tolowercase(); 

?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -