Hi,
On 23 Feb 2017, at 12:49, Eugen Colesnicov <[email protected]> wrote:
Hello,
When I creating page inside XWiki (version 8.4.4) and my page name contains character "plus" (+), for example "Test+Metric+Report" in browser address bar this page name looks like (visually) as "http://localhost/bin/view/Sandbox/Test%2BMetric%2BReport/" but, in xwiki.org site page with same name looks as created - for example (real page) - http://dev.xwiki.org/xwiki/bin/view/Drafts/Test+Metric+Report/
Why exists difference? Maybe need some additional configuration?
This is because the URL spec mandates URL-encoding. So if you have a “+” in a page name it has to be encoded as %2B. If you have “ “ (space) in a page name it has to be encoded as %20 or “+” (depending where it appears in the URL). So in your examples, the page is "Test Metric Report” with spaces and not “+” and the encoded url is http://dev.xwiki.org/xwiki/bin/view/Drafts/Test+Metric+Report/ Thanks -Vincent
-- Eugen
-- View this message in context: http://xwiki.475771.n2.nabble.com/PageName-with-plus-character-tp7602825.htm... Sent from the XWiki- Users mailing list archive at Nabble.com.