Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Bug Reports > Lots of % codes in filenames
2013-04-20 00:52
dink
Account closed

Registered: Mar 2012
Posts: 30
Lots of % codes in filenames

Lately it seems like most of the files downloaded have %## translation codes in them, for example, look at the file name in this release: Plumb Crazy +1D (Loadstar)

Could it be that the uploading script isn't properly translating the filename when it gets uploaded?
 
... 6 posts hidden. Click here to view all posts....
 
2013-04-21 09:04
Fred

Registered: Feb 2003
Posts: 284
It's very easy to fix. Just decode the URL for the download display link.

You can do it via Javascript with decodeURIComponent or use the urldecode function in PHP.
2013-04-21 12:18
Perff
Administrator

Posts: 1665
Added the sugested urldecode for displaying the link.

Also added the urldecode to the script that fetches the file form the fileserver and sends it to the user. Not sure if that will mess up the download in certain cases - if it does please let me know. :)
2013-04-21 17:24
chatGPZ

Registered: Dec 2001
Posts: 11114
while at it, add a TRIM to all input boxes, its annoying as fuck if you paste something in there and have to remove leadin or trailing spaces to make some search query work :) (now that i say it, i see its fixed in the sidebar, eh =D)
2013-04-21 17:47
Perff
Administrator

Posts: 1665
Quote:
while at it, add a TRIM to all input boxes

Better now? :)

Is there anywhere where it might seem fit NOT to trim input?
2013-04-21 17:49
iAN CooG

Registered: May 2002
Posts: 3132
thx Perff =)
2013-04-21 17:51
chatGPZ

Registered: Dec 2001
Posts: 11114
"Is there anywhere where it might seem fit NOT to trim input?"
cant think of anything... *shrug*
2013-04-21 18:01
dink
Account closed

Registered: Mar 2012
Posts: 30
it seems to be working just fine now :)
2013-04-21 19:12
bepp

Registered: Jun 2010
Posts: 263
Yay! Beautiful, Perff. Nice. And thanks for quick support!
2013-04-21 20:18
Count Zero

Registered: Jan 2003
Posts: 1821
While not really caring for %escaped filenames too much really I truely wish for binary entries on the database not being uploaded multiple times when actually containing different releases.
E.g. the made up example "DISK181b.d64" is uploaded several times as the binary to a diskmag, some tool AND some silly note... Geez thx for letting me look at the same disk three times - FUCK YOU UPLOADER OF SOME SILLY SWAPPER MADE DISK!

Take your time to extract, put together and rename properly - FUCKIN PLEASE!
2013-04-21 22:11
bugjam

Registered: Apr 2003
Posts: 2477
If I am not totally mistaken, I heard voices requesting exactly the opposite - not to rip spread disks apart.
I for my part will not bother, I think I spend quite enough time with uploading. :-) And I also upload a mixed disk only once, and then just copy-paste the download link, not to waste space unneccesarily.
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Endurion
icon/The Silents, Sp..
mutetus/Ald ^ Ons
Inge/HVSC
Grue/Extend
csio/monarchy c+4
Alias Medron/Padua
Guests online: 113
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 S!R  (9.9)
3 Antitrack  (9.8)
4 Mr Zero Page  (9.8)
5 OTD  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.054 sec.