I have a CakePHP application and need to be able to set special characters like% as get in the url
i correctly encode it to "% 25", but fix the "Bad Request" error. Encoding my url twice (up to% 2525, for example), however it works fine ....
I tried other solutions posted here, like changing /app/webroot/.htaccess to
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,B,L]
</IfModule>
but so far nothing has happened.
the error already occurs before index.php in app / webroot is called so that I assume it is an htaccess error
root and /app.htaccess are configured based on cakePHP documents ( https://book.cakephp.org/2.0/en/installation/url-rewriting.html )
source
share