Make sure CGI files are world-readable as well as world-executable.
This commit is contained in:
parent
f291e5863c
commit
36378eb1c6
|
@ -32,7 +32,7 @@ func handleCGI(config Config, path string, cgiPath string, URL *url.URL, log *Lo
|
|||
break
|
||||
} else if info.IsDir() {
|
||||
continue
|
||||
} else if info.Mode().Perm()&0111 == 0111 {
|
||||
} else if info.Mode().Perm()&0555 == 0555 {
|
||||
matched = true
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue