We don't want unicode names in URLs anyway. So, let's filter this in the publication code, and offer a 404 (with a subclass of the NotFound exception perhaps) if any path steps are not plain ascii. (When decoded from URL encoding, that is.)
I'm not in favour of decorating byName() calls for this purpose. We should filter URLs coming in.
We don't want unicode names in URLs anyway. So, let's filter this in the publication code, and offer a 404 (with a subclass of the NotFound exception perhaps) if any path steps are not plain ascii. (When decoded from URL encoding, that is.)
I'm not in favour of decorating byName() calls for this purpose. We should filter URLs coming in.