diff options
Diffstat (limited to 'lib/functions.php')
| -rw-r--r-- | lib/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/functions.php b/lib/functions.php index ff71ea9..df63256 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -767,7 +767,7 @@ function legacy_studip_utf8decode($data) */ function encode_header_parameter($name, $value) { - if (preg_match('/[\200-\377]/', $value)) { + if (preg_match('/[%\200-\377]/', $value)) { // use RFC 5987 encoding (ext-parameter) return $name . "*=UTF-8''" . rawurlencode($value); } else { |
