title: Prettyfaces url style search gmail
body: <p>Good day:</p>
  
  <p>I am conducting a search using prettyFaces, style gmail.
  When I do with gmail, space is replaced by a symbol "+". And in the box is not added the "+".</p>
  
  <p><a href="https://i.stack.imgur.com/8Qd9Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8Qd9Q.png" alt="Example Gmail"></a></p>
  
  <p>In my case, when I do the same, in other characters url as in my box are added.</p>
  
  <p><a href="https://i.stack.imgur.com/OUN9f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OUN9f.png" alt="My app"></a></p>
  
  <p>Here the mapping code, and box:</p>
  
  <pre><code>&lt;url-mapping id="search"&gt;
      &lt;pattern value="/buscar/#{ /.*/ searchBean.q}" /&gt;
      &lt;view-id value="/faces/reqs/search.xhtml" /&gt;
      &lt;action&gt;#{searchBean.search}&lt;/action&gt;
  &lt;/url-mapping&gt;
  
  &lt;div class="search"&gt;
      &lt;h:form id="searchForm"&gt;
          &lt;span class="button-group"&gt;
             &lt;p:inputText value="#{searchBean.q}" size="50"/&gt;
             &lt;p:commandButton action="pretty:search"/&gt;
          &lt;/span&gt;
       &lt;/h:form&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>Thanks for the help.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>And if facebook would be because it is a parameter? and as it would be a solution to avoid aparesca special characters in the input?
  <a href="https://i.stack.imgur.com/ewqch.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ewqch.png" alt="facebook example"></a></p>