jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62584] Removing '/./' in redirected URLs (Wicket-Feature)
Date Thu, 09 Aug 2018 09:52:45 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62584

Felix Schumacher <felix.schumacher@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Felix Schumacher <felix.schumacher@internetallee.de> ---
If you look at ConversionUtils#removeSlashDotDot, you will see, that it does a
lot more than simply removing '/..' from the complete URL.

Maybe it would be a good idea to factor out the common logic of /.. and /. into
a new method and delegate the old one and the new one (you would have to
create, too) to it.

And by the way. String#replaceAll takes a regex as first command and '.' has a
special meaning in regex, so it is probably a good idea to add test cases for
the change :) It should be easier, if you take the route via ConversionUtils.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message