aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 01:52:07 -0700
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 01:52:07 -0700
commitfbe8e27568ea17dc3522fc2a12a41f614540b46a (patch)
tree5c715e5d9f883d3dbaf086349c62a9f2487e1bbe
parent8623a5320078415f778c665c10827346512df448 (diff)
parent4ee705a79c455ab01b4c8dd3ad9372d855bd2a88 (diff)
downloadwallabag-fbe8e27568ea17dc3522fc2a12a41f614540b46a.tar.gz
wallabag-fbe8e27568ea17dc3522fc2a12a41f614540b46a.tar.zst
wallabag-fbe8e27568ea17dc3522fc2a12a41f614540b46a.zip
Merge pull request #250 from NumEricR/dl-export
Force download on poche export
-rw-r--r--.htaccess8
1 files changed, 8 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 00000000..37b7701c
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,8 @@
1Options +FollowSymlinks
2RewriteEngine On
3RewriteRule ^dl/export_poche.json$ ?export [L]
4
5# Force download
6RewriteCond %{QUERY_STRING} =export
7RewriteRule ([^/]*)$ - [L,E=dl:$1]
8Header onsuccess set Content-disposition "attachment; filename=%{dl}e" env=dl \ No newline at end of file