Need to filter out some illegal characters in the server url:
For example | ; $ @ ' " < > ( ) document LF
Because all locations are required, they are written under the server:
if ($request_uri ~* "##这里怎么写##"){
return 403;
}
I am a novice, please give me some guidance. . . .
It is recommended to write the single-character blacklist and multi-character blacklist in two sections
Single-character blacklist:
Multiple characters:
The question should be written more clearly