title: Unexpected %0A in URL results in file not found
body: <p>My file.php accept API calls from third party, but sometimes in the URL API call third party includes character <code>%0A</code>, which results into file not found.</p>
  <p>normal call, which works:</p>
  <pre><code>example.com/file.php?text=SMS+123&amp;id=22 
  </code></pre>
  <p>wrong call - file not found (with <code>%0A</code> char):</p>
  <pre><code>example.com/file.php?text=SMS+123%0A&amp;id=22
  </code></pre>
  <p>How can I rewrite that wrong call with <code>.htaccess</code>, that will redirect call to the same URL without <code>%0A</code> character in the URL?</p>
  <p>//EDIT: Thank you all for replies! I found out the problem was in the apache security setting mod_security, which filtered inputs like this to prevent header injection by payload. Solution is to turn it off, or remove this specific condition.</p>