diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-01-08 20:28:17 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-01-08 20:28:17 +0100 |
commit | bc1b7a8a0fdd1812e352cab5e2362bd5770d5b3b (patch) | |
tree | d8912a5e37370dcc55bd7120acc2caa457819d50 /lib/plugins/extension/helper/gui.php | |
parent | 4bad83d828217dc64292223b268c6a3674984070 (diff) | |
download | rpg-bc1b7a8a0fdd1812e352cab5e2362bd5770d5b3b.tar.gz rpg-bc1b7a8a0fdd1812e352cab5e2362bd5770d5b3b.tar.bz2 |
better filename parsing
The filename found in the URL will be used for old plugins missing a
base entry in their plugin.info.txt and lacking a subdirectory inside
the archive as well. This patch makes sure possible query strings aren't
included in the filename.
Note: io_download() will also try to get a filename from any
content-disposition header.
If no filename can be found we simply use an md5 sum of the URL and hope
the plugin will contain it's own hint for naming.
Diffstat (limited to 'lib/plugins/extension/helper/gui.php')
0 files changed, 0 insertions, 0 deletions