500 Error on valid characters in VanityURL
In a Vanity URL if the URL field contains a question mark or equal sign then saving the Vanity URL will generate a 500 error.
Logged is: 14-Sep-2016 16:54:10.170 SEVERE [http-nio-127.0.0.1-8080-exec-7] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [MainServlet] in context with path [] threw exception [Servlet execution threw an exception] with root cause java.lang.StackOverflowError at com.dotcms.repackage.org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source)
Expected Behavior
The Vanity URL should be saved.
Current Behavior
500 error
Possible Solution
Known Workarounds
none
Steps to Reproduce (for bugs)
- Create a new vanity URL
- Include a ? or = in the URL
- Save
Context
Your Environment
- dotCMS version used: 3.3, 3.6
- Browser Name and version: Safari 9.1.3, Chrome 52
- Operating System and version: OS X 10.11.6
- Application Server and version: bundled tomcat
- Java Brand and version: openjdk 1.8
- Database and version: postgres 9
- Application module (if apply):
This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.