core icon indicating copy to clipboard operation
core copied to clipboard

500 Error on valid characters in VanityURL

Open mattyarbrough opened this issue 10 years ago • 1 comments

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)

  1. Create a new vanity URL
  2. Include a ? or = in the URL
  3. 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):

mattyarbrough avatar Sep 14 '16 21:09 mattyarbrough

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.

stale[bot] avatar Sep 29 '19 00:09 stale[bot]