Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

.htaccess Preventing requests with invalid characters

RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} !^[A-Z]{3,9} [a-zA-Z0-9.+_/-?=&]+ HTTP/ [NC]
RewriteRule .* - [F,NS,L]
 
PREVIOUS NEXT
Tagged: #Preventing #requests #invalid #characters
ADD COMMENT
Topic
Name
8+7 =