diff options
author | chrysn <chrysn@web> | 2014-08-08 11:06:02 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-08-08 11:06:02 -0400 |
commit | c9872afd9c6e1adf7de0d05edd46a6a4a6182125 (patch) | |
tree | 4cee9f72575d16a02a6bd8fa78e1bb439990bdfc /doc | |
parent | 004f177c613be9a79ec4738c6551cb9ba1f9922a (diff) | |
download | ikiwiki-c9872afd9c6e1adf7de0d05edd46a6a4a6182125.tar ikiwiki-c9872afd9c6e1adf7de0d05edd46a6a4a6182125.tar.gz |
comment about legality of whitespace in urls and %20
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/Spaces_in_URLs.mdwn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/forum/Spaces_in_URLs.mdwn b/doc/forum/Spaces_in_URLs.mdwn index 847d14167..4749f4dc5 100644 --- a/doc/forum/Spaces_in_URLs.mdwn +++ b/doc/forum/Spaces_in_URLs.mdwn @@ -8,3 +8,7 @@ Now that I've moved to Ikiwiki, that doesn't work. So I moved the file here: Is there a better approach to maintaining this link than setting an alias in Apache? > You can add the space character to the `wiki_file_chars` argument in your setup file. -- [[Jon]] + +>> a space character is not allowed in a url; user agents that read one usually represent it in percent encoded form (`%20`). if you use that, things also work for direct links, which i assume caused the problem (for both the links in the original description render correctly): `\[[http://dada.pink/scarsdale/Statement%2020140527.pdf]]` renders [[http://dada.pink/scarsdale/Statement%2020140527.pdf]]. +>> +>> spaces are allowed in internal pages because wiki page names are not urls per se but converted using conversion rules -- this allows people to not think about url rules and just link to pages, but when you're linking outside ikiwiki, some strings just aren't valid urls. --[[chrysn]] |