Fix tftpboot

This commit is contained in:
Diederik de Groot
2017-11-15 17:16:26 +01:00
parent 50ff651867
commit 1e57ba2c32

View File

@@ -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