You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2022. It is now read-only.
In src/Spout/Writer/WriterAbstract.php:141 the value for filename and filename* is not properly encoded. rawurlencode should probably be used instead of rawurldecode.
This leads to an error in the Moodle Learning Platform when a file name contains special characters like a comma: MDL-73624.
If I'm reading RFC5987 correctly, only the extended syntax for filename* may use URL-encoding. The regular syntax for filename (defined as quoted-string in RFC2616 seems to describe backslash-encoding. But reality doesn't seem to agree.
According to this comment on StackOverflow, URL-encoding both values should work with most browsers.
The text was updated successfully, but these errors were encountered:
In src/Spout/Writer/WriterAbstract.php:141 the value for
filename
andfilename*
is not properly encoded.rawurlencode
should probably be used instead ofrawurldecode
.This leads to an error in the Moodle Learning Platform when a file name contains special characters like a comma: MDL-73624.
If I'm reading RFC5987 correctly, only the extended syntax for
filename*
may use URL-encoding. The regular syntax forfilename
(defined asquoted-string
in RFC2616 seems to describe backslash-encoding. But reality doesn't seem to agree.According to this comment on StackOverflow, URL-encoding both values should work with most browsers.
The text was updated successfully, but these errors were encountered: