title: Advanced Wildcard Actions stripping commas from URLs?
body: <p>I have the following struts2.xml</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;struts&gt;
  
      &lt;constant name="struts.enable.SlashesInActionNames" value="true"/&gt;
      &lt;constant name="struts.mapper.alwaysSelectFullNamespace" value="false"/&gt;
      &lt;constant name="struts.patternMatcher" value="regex" /&gt;
      &lt;constant name="struts.devMode" value="true" /&gt;
  
      &lt;package name="ro.fiveplus.cms" namespace="/" extends="struts-default"&gt;
  
          &lt;action name="/{categoryName}/aaaa" method="test" class="test.Test"&gt;
               &lt;interceptor-ref name="debugging"/&gt;
               &lt;interceptor-ref name="staticParams"&gt;
                &lt;/interceptor-ref&gt;
              &lt;result name="success"&gt;/index.jsp&lt;/result&gt;
          &lt;/action&gt;
  
      &lt;/package&gt;
  
  &lt;/struts&gt;
  </code></pre>
  
  <p>and </p>
  
  <pre class="lang-java prettyprint-override"><code>public class Test extends ActionSupport{
  
      Map&lt;String, String&gt; params;     
      private String categoryName;
  
      private static final long serialVersionUID = -5666734745185765139L;
  
      public String test(){               
          System.out.println("categoryName: "+categoryName);
          return SUCCESS;
      }
  
      public String getCategoryName() {
          return categoryName;
      }
  
      public void setCategoryName(String categoryName) {
          this.categoryName = categoryName;
      }
  }
  </code></pre>
  
  <p>with the libs</p>
  
  <pre><code>antlr-2.7.7.jar
  commons-beanutils-1.9.2.jar
  commons-collections-3.2.jar
  commons-digester-2.0.jar
  commons-fileupload-1.2.1.jar
  commons-io-2.4.jar
  commons-lang-2.6.jar
  commons-lang3-3.3.2.jar
  commons-logging-1.2.jar
  compiler-0.8.4.jar
  dom4j-1.6.1.jar
  freemarker-2.3.20.jar
  guava-18.0.jar
  javassist-3.18.2-GA.jar
  jaxen-1.1.1.jar
  jboss-transaction-api_1.2_spec-1.0.0.Final.jar
  jcl-over-slf4j-1.7.7.jar
  log4j-1.2.15.jar
  mvel2-2.0.11.jar
  ognl-3.0.6.jar
  slf4j-api-1.7.7.jar
  spring-core-3.2.0.RELEASE.jar
  spring-web-3.2.0.RELEASE.jar
  struts2-core-2.3.20.jar
  velocity-1.7.jar
  velocity-tools-2.0.jar
  xwork-core-2.3.20.jar
  </code></pre>
  
  <p>If I access </p>
  
  <blockquote>
    <p><code>http://localhost:8080/test2/category1/aaaa.action</code></p>
  </blockquote>
  
  <p>in console it prints correctly <code>categoryName: category1</code></p>
  
  <p>but if I access </p>
  
  <blockquote>
    <p><code>http://localhost:8080/test2/category1,category2/aaaa.action</code></p>
  </blockquote>
  
  <p>in console it prints <code>categoryName: category1category2</code> instead of <code>categoryName: category1,category2</code></p>
  
  <p>It seems that it strips some characters like comma and also blank spaces.</p>
  
  <p>It works with Struts version 2.2.31.</p>
  
  <p>Is any work around to solve this ?</p>