We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3708b41 commit 2a32861Copy full SHA for 2a32861
1 file changed
cgi.go
@@ -213,7 +213,7 @@ func splitCgiPath(fc *frankenPHPContext) {
213
// If a worker is already assigned explicitly, derive SCRIPT_NAME from its filename
214
if fc.worker != nil {
215
fc.scriptFilename = fc.worker.fileName
216
- fc.scriptName = strings.TrimPrefix(fc.worker.fileName, fc.documentRoot)
+ fc.scriptName = filepath.ToSlash(strings.TrimPrefix(fc.worker.fileName, fc.documentRoot))
217
return
218
}
219
0 commit comments