I have a laravel app deployed in Apache server on CentOS.
The app is working except when i try to POST a form containing this string ..//
My .htaccess file in project public folder looks like this
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
The virual host in httpd.conf
<VirtualHost *:80>
ServerName project.com
DocumentRoot /var/www/project/public
ServerAlias project.com
<Directory /var/www/project/public>
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
I tried duplicating the .htacess to root project folder but no success.
How can i post forms with ..// strings ?