title: Negative integer request parameters not recognized when language is Arabic, other languages like english, german, french & chinese work fine
body: <p>I have a struts2 web-application.</p>
  
  <p>When I change the language to arabic, all query string urls, give un-certain results. I guess that's because <code>?</code> is considered to be some variable name and then it's not mapped properly to the target action by Struts2.</p>
  
  <p>Although examples present on internet seems to work fine, so I guess this has something to do with my struts configuration.</p>
  
  <pre><code>&lt;constant name="struts.devMode" value="false" /&gt;
      &lt;constant name="struts.ognl.allowStaticMethodAccess" value="true"/&gt;
  
      &lt;constant name="struts.custom.i18n.resources" value="struts,global"/&gt;
  &lt;!--    &lt;constant name="struts.action.extension" value="" /&gt;--&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;
  </code></pre>
  
  <p>As long as the language is english, url like <code>http://localhost:8084/myaction?id=4</code> works perfectly fine and returns the required data but once the language is changed, that url bound action is never called, instead some other random action is being called.</p>
  
  <p><strong>[UPDATE]</strong></p>
  
  <p>Random actions are not called. Actually, the parameters don't get mapped and hence, due to validation checks in the action, the action returns INPUT. But the same url works when language is English i.e. parameters gets mapped perfectly and success is returned.</p>
  
  <p><strong>[UPDATE 2]</strong></p>
  
  <pre><code>&lt;interceptor-stack name="rememberMeStack"&gt;
                  &lt;interceptor-ref name="rememberme"/&gt;
                  &lt;interceptor-ref name="defaultStack"/&gt;
                  &lt;interceptor-ref name="store"&gt;
                      &lt;param name="operationMode"&gt;AUTOMATIC&lt;/param&gt;
                  &lt;/interceptor-ref&gt;
              &lt;/interceptor-stack&gt;
  </code></pre>
  
  <p>Above is the interceptor stack I'm using. </p>
  
  <p><strong>[UPDATE 3]</strong></p>
  
  <pre><code>http://localhost:8084/search?id=-1&amp;...
  </code></pre>
  
  <p>Only parameters with value <code>-1</code> are giving OGNL exception <code>Error Setting Expression</code>, rest numbers seems to work fine.</p>
  
  <p><strong>[UPDATE 4]</strong></p>
  
  <p>I've tried using more languages and figured out that, it's not working ONLY for arabic languages. I guess it has something to do with their left-right alignment.</p>
  
  <p>I also managed to write a small sample application, which demonstrates that only when language is arabic, the form submission gives error &amp; with other any other language (english, chinese, french) it works fine.</p>
  
  <p>I have also filed a bug on struts2 jira for this - <a href="https://issues.apache.org/jira/browse/WW-4241" rel="nofollow">https://issues.apache.org/jira/browse/WW-4241</a></p>