Fix tftpboot
This commit is contained in:
@@ -192,6 +192,6 @@ ri ^[a-z]: # Remove "drive letters"
|
|||||||
rg \\ / # Convert backslashes to slashes
|
rg \\ / # Convert backslashes to slashes
|
||||||
rg \# @ # Convert hash marks to @ signs
|
rg \# @ # Convert hash marks to @ signs
|
||||||
rg /../ /..no../ # Convert /../ to /..no../
|
rg /../ /..no../ # Convert /../ to /..no../
|
||||||
e ^ok/ # These are always ok
|
# e ^ok/ # These are always ok
|
||||||
r ^[^/] /tftpboot/\0 # Convert non-absolute files
|
# r ^[^/] /tftpboot/\0 # Convert non-absolute files
|
||||||
a \.pvt$ # Reject requests for private files
|
# a \.pvt$ # Reject requests for private files
|
||||||
|
Reference in New Issue
Block a user