Skip to content

Commit

Permalink
2.1.27
Browse files Browse the repository at this point in the history
Merged PR #1840
  • Loading branch information
nilsteampassnet committed Nov 11, 2017
1 parent d964389 commit 2cdf449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#1974 Changing saltkey operation
#1970 ip-api.com use is not compatible with https
#1960 Access Denied for personal folder
#1840 add "download" attribute to export file

9/
Fixed a possible XSS (credit to ADLab of Venustech)
Expand Down
2 changes: 1 addition & 1 deletion sources/export.queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@
// Close and display
fclose($outstream);

echo '[{"text":"<a href=\''.$SETTINGS['url_to_files_folder'].$csv_file.'\' target=\'_blank\'>'.$LANG['pdf_download'].'</a>"}]';
echo '[{"text":"<a href=\''.$SETTINGS['url_to_files_folder'].$csv_file.'\' download>'.$LANG['pdf_download'].'</a>"}]';
break;

//CASE export in HTML format
Expand Down

0 comments on commit 2cdf449

Please sign in to comment.