Welcome! Log In Create A New Profile

Advanced

Location directive not working with # in URL ?

Posted by pwaki92 
Location directive not working with # in URL ?
July 25, 2010 05:42AM
Hi all NGINX users !

I am desperatly trying to filter a URL that contains a # sign.
I've tried without success :

location ^~ /url1\#.* {
return 403;
}


location ^~ url1\#.* {
return 403;
}

location ^~ url1#.* {
return 403;
}

Any hints from someone ??
Thank you.
PW
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready