deislabs / wagi

Write HTTP handlers in WebAssembly with a minimal amount of work
Apache License 2.0
889 stars 45 forks source link

Fix script name, path info, and path translated #114

Closed technosophos closed 3 years ago

technosophos commented 3 years ago

This fixes several problems with CGI/1.1 compliance.

We had some difficulty interpreting parts of 4.1.6, ultimately deciding to ignore the prohibition in 4.1.5 on having path segments inside of the raw path info. (It just didn't make sense that a path could not contain a path segment because it required the end user to encode their path segments... which is silly)

Closes #101

technosophos commented 3 years ago

See also:

https://github.com/deislabs/wagi-fileserver/pull/7 https://github.com/deislabs/wagi-dotnet/pull/50