https://issues.apache.org/bugzilla/show_bug.cgi?id=54142
--- Comment #20 from Sebb <[email protected]> --- (In reply to Philippe Mouawad from comment #19) > Created attachment 30670 [details] > Patch for issue fixing unsafe URLs during parsing > > Patch proposition which escapes IllegalURLCharacters if browser does not. > The idea is to convert to URI the URL, if it fails then it means it contains > unsafe characters, then they are fixed. Seems OK. The conversion method could be added to ConversionUtils. It needs some test cases. > My issue with this patch is that it fixes the issues for HttpClient3 and 4 > but it also fixes for Java which could break Not sure I follow. The purpose of this patch is to fix up URLs generated by browsers that don't encode all unsafe characters. It should be equivalent to using a well-behaved browser currently. -- You are receiving this mail because: You are the assignee for the bug.
