Re: Allow Whitespace in L<> URLs?
[email protected] (Ricardo Signes) Thu, 8 Jan 2015 16:00:09 -0500
| Newsgroups | perl.pod-people |
|---|---|
| Message-ID | <[email protected]> |
* "David E. Wheeler" <[email protected]> [2015-01-08T13:42:10] > I think that is probably sane, but maybe there are other opinions? Should we > allow whitespace in L<> URLs? If so, I think we would just change \S to . I didn't scrutinize the regexp (which is present in perlpodspec) closely, but URLs may not contain unescape spaces, so I think there's no reason to allow it. L<foo bar|http://baz-bar> should be okay L<foo bar|http://baz bar> should not L<foo bar | http://baz-bar> unclear from quick skim of spec I assume the second case is what came up. It's not a valid URI, by my reading of https://tools.ietf.org/html/rfc3986#appendix-A -- rjbs
signature.asc
(application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUru/ZAAoJEOYby6cMccU5CdMH/3NC7A/WJs3VddC4e3Cegjys Uxj0sBq9oVadLeoqJvgnqHKXuP/7LlcGJUNUXKxYffgHqa1SW+C+3H2RTYRRE+3c FfS0qC0hJh+sH6zYeQnBeLwZyUzPmFx90mPgaHQUCFyehx2/IhcHkKBpjp7AGcpB 9BG1E0b7Vi9FuFzIVGZmI7/BPy3UsJMAbwWnmryQYJ/c3CVA5k9EM4c0ZKQj/N0e S8L+Z4nZuWyMqH8KrKulx4/Iv85tiEGhHaNZr6xa4/rGWOgWEDaRLhISFQXVCNOO BcK9d9IQ2Wx1k0EO0bMnPpVKVELCxGqbrcxx+juMQ8vNSq53hpTPXuGp4whJ0e4= =4KSD -----END PGP SIGNATURE-----