Searched hist:bc1b7a8a0fdd1812e352cab5e2362bd5770d5b3b (Results 1 – 1 of 1) sorted by relevance
| /dokuwiki/lib/plugins/extension/lang/en/ |
| H A D | lang.php | bc1b7a8a0fdd1812e352cab5e2362bd5770d5b3b Wed Jan 08 19:28:17 UTC 2014 Andreas Gohr <andi@splitbrain.org> 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.
|