This repository was archived by the owner on Jul 29, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 76
76
add_header 'Content-Disposition' 'attachment' ; # THUMBOR_ALLOW_CONTENT_DISPOSITION
77
77
} # THUMBOR_ALLOW_CONTENT_DISPOSITION
78
78
79
- if ( $args ~ * "download_filename" ) { # THUMBOR_ALLOW_CONTENT_DISPOSITION
80
- add_header 'Content-Disposition' 'attachment; filename="$arg_download_filename"' ; # THUMBOR_ALLOW_CONTENT_DISPOSITION
81
- } # THUMBOR_ALLOW_CONTENT_DISPOSITION
79
+ if ( $args ~ * "download_filename" ) { # THUMBOR_ALLOW_CONTENT_DISPOSITION
80
+ add_header 'Content-Disposition' 'attachment; filename="$arg_download_filename"; filename*="$arg_download_filename"' ; # THUMBOR_ALLOW_CONTENT_DISPOSITION
81
+ } # THUMBOR_ALLOW_CONTENT_DISPOSITION
82
82
}
83
83
84
84
location = /healthcheck {
95
95
add_header 'Content-Disposition' 'attachment' ; # THUMBOR_ALLOW_CONTENT_DISPOSITION
96
96
} # THUMBOR_ALLOW_CONTENT_DISPOSITION
97
97
98
- if ( $args ~ * "download_filename" ) { # THUMBOR_ALLOW_CONTENT_DISPOSITION
99
- add_header 'Content-Disposition' 'attachment; filename="$arg_download_filename"; filename*=UTF-8 "$arg_download_filename"' ; # THUMBOR_ALLOW_CONTENT_DISPOSITION
100
- } # THUMBOR_ALLOW_CONTENT_DISPOSITION
98
+ if ( $args ~ * "download_filename" ) { # THUMBOR_ALLOW_CONTENT_DISPOSITION
99
+ add_header 'Content-Disposition' 'attachment; filename="$arg_download_filename"; filename*="$arg_download_filename"' ; # THUMBOR_ALLOW_CONTENT_DISPOSITION
100
+ } # THUMBOR_ALLOW_CONTENT_DISPOSITION
101
101
}
102
102
103
103
location ~ /\.ht { deny all; access_log off; error_log off; }
You can’t perform that action at this time.
0 commit comments