Not logged in. · Lost password · Register
Forum: Community dokuwiki.org RSS
Version information in the download link
Avatar
alexlehm #1
Member since Apr 2014 · 11 posts
Group memberships: Members
Show profile · Link to this post
Subject: Version information in the download link
When downloading the dokuwiki distribution, the download links now contain a hashkey, probably to thwart hotlinking.

Previously the download filename contained the version date, which was kind of less confusing when processing more than one archive in a download dir e.g. with wget.

Would it be possible to include the version date in the download filename as well, like dokuwiki-2014-05-05a-hashkey.tar.gz ?
Avatar
andi (Administrator) #2
User title: splitbrain
Member since May 2006 · 3358 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Not easily. The hashkey is not to prevent hotlinking but is an MD5 sum over the selected options. Your download can be customized so it's kinda unique. Check the archive for full downloads with versions in the file names: http://download.dokuwiki.org/archive
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
alexlehm #3
Member since Apr 2014 · 11 posts
Group memberships: Members
Show profile · Link to this post
After thinking this over a bit, maybe it would be possible to add a Content-Disposition header to supply a version based filename (doesn't work with wget though I think).

something like dokuwiki-2014-01-01-hashkey.tar.gz

this doesn't have to be reflected in the filename, if it is sent in the header.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-12-14, 22:50:36 (UTC +01:00)