Reproducing
- From a Phriction page, create a New Document
- In the resulting form put a comma character in the URL
- Create the page and note the URI field
- The resulting page after saving will have the URL-encoded comma (%2C)
- Edit the page and put in the following content to compare results
[[ https://WEBSITE/w/lambda/jan_27%2C_2017/ | Fully-Qualified ]] [[ lambda/jan_27%2C_2017/ | URL-Encoded Relative ]] [[ /w/lambda/jan_27%2C_2017/ | URL-Encoded Root ]] [[ lambda/jan_27,_2017/ | No-Encoding Relative ]] [[ /w/lambda/jan_27,_2017/ | No-Encoding Root ]]
- The resulting page looks like:
- The resulting links are
- The URL-Encoded Relative is linked as https://WEBSITE/w/lambda/jan_27_2c_2017/
- All the others are https://WEBSITE/w/lambda/jan_27,_2017/
- No-Encoding Relative is bold (feature? I've been linking this way for over a year and actually like the bold not realizing other style linking didn't bold)
I've been meaning to file this for a long time but it's been only a minor nuisance that I wasn't motivated until seeing T12343.
Environment
Repo | Version |
---|---|
libphutil | d0ebdaf3ab7077b1c0fc90347ccbcff4ea42396e |
arcanist | a232e95a18f310748d51fad91b9c5d3144dd92b8 |
phabricator | 3e10f69570c0eb007f85917e16a249ea70d2dda8 |