-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decode header to support non-ascii values
HTTP/FastCGI headers only allow to specify values in a certain alphabet (bascially ASCII). In order to support non-ascii file names, the header value needs to be encoded prior to sending, and mod_xsendfile needs to decode it, what this change introduces. Lighttpd decodes the path in X-Sendfile2, too, so we're good to go here.ZZ Issue reported (and different patch) by Ben Timby. Thanks
- Loading branch information
Showing
1 changed file
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters