in reply to Cool uses for path_info
I would just fix path_info() untainting it, and done. After all, user input may slip through, if it is valid and doesn't do any harm. I haven't looked through the entire module, so I can only guess that requests fail elsewhere with a 404, if path_info() doesn't provide anything useful for a component relying on it.
But then, you probably do untaint both the environment and user input as early as possible, don't you? If not, you should have a very good reason.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cool uses for path_info
by Dallaylaen (Chaplain) on Nov 24, 2016 at 14:29 UTC | |
|
Re^2: Cool uses for path_info
by Dallaylaen (Chaplain) on Nov 28, 2016 at 12:53 UTC |