File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33- added: `String.arg(obj)` for a simple templating `Hello {variable}!`
44
55- updated: RESTBuilder default headers are lower-case
6+ - updated: `content-disposition` header by adding `utf-8` according to [RFC 5987](https://tools.ietf.org/html/rfc5987#section-3.2.2)
67
78- fixed: a missing property `controller.params` in WebSocket controller
89- fixed: `$ASYNC()` execution in some cases
Original file line number Diff line number Diff line change @@ -14937,7 +14937,7 @@ function extend_response(PROTO) {
1493714937 headers = U . extend_headers ( headers , res . options . headers ) ;
1493814938
1493914939 if ( res . options . download )
14940- headers [ 'Content-Disposition' ] = 'attachment; filename="' + encodeURIComponent ( res . options . download ) + '"' ;
14940+ headers [ 'Content-Disposition' ] = 'attachment; filename*=utf-8\'\'' + encodeURIComponent ( res . options . download ) ;
1494114941 else if ( headers [ 'Content-Disposition' ] )
1494214942 delete headers [ 'Content-Disposition' ] ;
1494314943
You can’t perform that action at this time.
0 commit comments