Hi Jonathan Stripping out trailing slashes seems like it delivers cleaner, shorter args. If no one has asked for trailing slashes, why introduce a feature which has to be protected forever as backward-compatible?
After all, if these extra args exist, we're going to have to iterate through them seeing what they are before deciding whether they can be safely discarded. This leads to more lines of code; bad! On the other hand, if someone in the future comes up with a real use for these 'spurious' args, they can easily be introduced then. My vote therefore goes for #3 - in my view a vote for shorter, cleaner args and less code! -D