mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 02:07:42 +00:00
Merge pull request #6561 from markmckinnon/3997-IllegalArgumentException-in-RecentActivity.SearchEngineURLQueryAnalyzer
3997-IllegalArgumentException-in-RecentActivity.SearchEngineURLQueryAnalyzer
This commit is contained in:
commit
5fd2192dde
@ -247,7 +247,7 @@ class SearchEngineURLQueryAnalyzer extends Extract {
|
||||
}
|
||||
}
|
||||
try { //try to decode the url
|
||||
String decoded = URLDecoder.decode(x, "UTF-8"); //NON-NLS
|
||||
String decoded = URLDecoder.decode(x.replaceAll("%(?![0-9a-fA-F]{2})", "%25"), "UTF-8"); //NON-NLS
|
||||
return decoded;
|
||||
} catch (UnsupportedEncodingException exception) { //if it fails, return the encoded string
|
||||
logger.log(Level.FINE, "Error during URL decoding, returning undecoded value:"
|
||||
|
Loading…
x
Reference in New Issue
Block a user