Hi Tim, On Wed, Apr 21, 2021 at 12:02:58PM +0200, Tim Düsterhus wrote: > Yes, I already replied to Christopher during the initial review that > providing combined normalizers definitely makes sense.
Ah OK I didn't understand that it was what you meant. > For the existing path ones I'd suggest: > > http-request normalize-uri filesystem > > that combines path-strip-dot, path-strip-dotdot, path-merge-slashes in an > useful order. The only thing is that "filesystem" doesn't imply at all that it applies to the path component of the URI. It could very well be about FS-like parts in the query string for example. Instead I think that since the path component is well defined, its name should at least be part of the action (not sure if we'd want multiple actions once we can adhere to the standard). > > There is another one which could make sense to implement if supported by > > the standard (I didn't have a look at RFC3986 recently), which is that I > > don't remember if the backslash is supposed to be handled as an equivalent > > to the slash, in which case it also ought to be translated. > > > > Thanks, I'll check. OK, thank you! Willy

