[xwiki-users] Problems with URL Encoding
Hi! We are configuring XWiki in some machines for different purposes (tests, development, etc). In dev machine, I'm getting error with url encoding but this error doesn't happen in my local machine. What is strange for me is that I made the same standard XWiki installation in both machines. Dev machineCentOS, Tomcat 8.5.4 Local machine Ubuntu 15.10, Tomcat 8.5.4 Steps to reproduce this error (XWiki 8.2.1): 1) Create a page with title: "Projects Test" 2) The url result is xwiki/bin/view/Projects%2BTest/ 3) When I edit and save, another page is created: xwiki/bin/view/Projects%252BTest/ 4) If I edit and save this new page, another page is created: xwiki/bin/view/Projects%25252BTest/ I've already checked configuration files specified in XWiki Character Encoding Configuration (AdminGuide.Encoding) - XWiki and all them are OK. If i need to provide more information about this issue, please let me know. Thanks for helping me! RegardsFernando
Hi Fernando,
On 17 Aug 2016, at 20:39, Fernando Xavier <[email protected]> wrote:
Hi!
We are configuring XWiki in some machines for different purposes (tests, development, etc). In dev machine, I'm getting error with url encoding but this error doesn't happen in my local machine. What is strange for me is that I made the same standard XWiki installation in both machines.
Dev machineCentOS, Tomcat 8.5.4 Local machine Ubuntu 15.10, Tomcat 8.5.4 Steps to reproduce this error (XWiki 8.2.1):
1) Create a page with title: "Projects Test" 2) The url result is xwiki/bin/view/Projects%2BTest/ 3) When I edit and save, another page is created: xwiki/bin/view/Projects%252BTest/ 4) If I edit and save this new page, another page is created: xwiki/bin/view/Projects%25252BTest/
I've already checked configuration files specified in XWiki Character Encoding Configuration (AdminGuide.Encoding) - XWiki and all them are OK.
If i need to provide more information about this issue, please let me know. Thanks for helping me!
Ok I think the problem is because you’re using a version of Tomcat that is buggy. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat for a list of valid Tomcat versions. Thanks -Vincent
RegardsFernando
Hi Vincent, You're right. I made tests with tomcat 8.0.33 and 8.5.0 and URL encoding is OK in both installations. Thanks for help! Is there a prevision for issue http://jira.xwiki.org/browse/XWIKI-13556 ? RegardsFernando Em Quarta-feira, 17 de Agosto de 2016 15:58, Vincent Massol <[email protected]> escreveu: Hi Fernando,
On 17 Aug 2016, at 20:39, Fernando Xavier <[email protected]> wrote:
Hi!
We are configuring XWiki in some machines for different purposes (tests, development, etc). In dev machine, I'm getting error with url encoding but this error doesn't happen in my local machine. What is strange for me is that I made the same standard XWiki installation in both machines.
Dev machineCentOS, Tomcat 8.5.4 Local machine Ubuntu 15.10, Tomcat 8.5.4 Steps to reproduce this error (XWiki 8.2.1):
1) Create a page with title: "Projects Test" 2) The url result is xwiki/bin/view/Projects%2BTest/ 3) When I edit and save, another page is created: xwiki/bin/view/Projects%252BTest/ 4) If I edit and save this new page, another page is created: xwiki/bin/view/Projects%25252BTest/
I've already checked configuration files specified in XWiki Character Encoding Configuration (AdminGuide.Encoding) - XWiki and all them are OK.
If i need to provide more information about this issue, please let me know. Thanks for helping me!
Ok I think the problem is because you’re using a version of Tomcat that is buggy. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat for a list of valid Tomcat versions. Thanks -Vincent
RegardsFernando
participants (2)
-
Fernando Xavier -
Vincent Massol