hijack bug. kinda

Posted by: RobotCaleb

hijack bug. kinda - 17/09/2002 20:51

http://192.168.1.124/Korn_-_k@#0_!_(kunt).mp3?FID=5820&EXT=.mp3

that is the clickable link for the song.

tags =

artist=Korn
bitrate=fs128
codec=mp3
ctime=1019109934
duration=182589
genre=Metal
length=2921433
offset=0
samplerate=44100
source=Life is Peachy
title=k@#0%! (kunt)
type=tune
year=1996

for obvious reasons, this wont download when clicked on. im sure that when i go change the name in emplode it will allow me to download it. just thought id let you know though.
Posted by: paulj

Re: hijack bug. kinda - 18/09/2002 23:01

Sounds like whatever generates the URLs needs to do the URL-safe conversion of unsafe chars to %xx.

--pj
Posted by: mlord

Re: hijack bug. kinda - 25/09/2002 21:03

This is a tricky one, as we don't want to make the title string completely unreadible -- some player apps use the string for display purposes, without reconverting the %xx sequences. Mozilla here handles that sample URL just fine, by the way.

So.. I'll put out v296 of Hijack, with code to handle the @#! characters specially for this.

cheers