rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: Novox on November 11, 2008, 03:29:35 AM

Title: RAWR-Player and URL Encoding with '+'
Post by: Novox on November 11, 2008, 03:29:35 AM
Hi,

I have one issue about URL Encoding. Here when I try to listen the song that contain symbol like '+', I can't. Then I have look into URL Encoding. I think the problem came from this.

Here is my experiment. In this case the song title is in unicode and I have hilighted where '+' is, 01-เล้าโลม 18+ - 18+.mp3

This is the URL Encoding when I'm trying to download the song. Everything works fine.

http://www.tkb-colo.com/dl/tkbcolo/VampireS%20642/014-NEW%5BF%5D%20-%20%E0%B9%80%E0%B8%A5%E0%B9%89%E0%B8%B2%E0%B9%82%E0%B8%A5%E0%B8%A1%20%5B18+%5D/01-%E0%B9%80%E0%B8%A5%E0%B9%89%E0%B8%B2%E0%B9%82%E0%B8%A5%E0%B8%A1%2018+%20-%2018+.mp3

BUT when using RAWR-Player to play the song. It doesn't work. Here is the URL Encoding from RAWR-Player. (right-click then Copy Direct file link)

http://203.145.117.161/dl/tkbcolo/VampireS%20642/014-NEW[F]%20-%20เล้าโลม%20[18+]/01-เล้าโลม%2018%20%20-%2018%20.mp3

'+' is gone, usually in URL Encoding '+' must be %2B. Please help..

Thanks in advance!
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: rejetto on November 11, 2008, 03:38:45 AM
Indeed, as far as i remember, + is translated to space only in queries/parameters (that is, after the ? separator).
And there's no "?" anywhere...
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: Novox on November 11, 2008, 03:55:42 AM
This URL come from right click at the link then properties. I have copied from that. I don't know why it doesn't have "?" maybe it not a query or parameter because it's a directlink.

As your reply, "+" is translate into space. It correct in the second Encoding URL.

18+ has been translated into 18%20 (18SPACE) but the player can't find the file that contains 18SPACE because it's 18+
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: rejetto on November 11, 2008, 11:49:34 AM
i didn't mean that the "?" was expected to be there.
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: Novox on November 11, 2008, 11:53:05 AM
Umm.. I don't know and I don't understand >,<. Anyway, can I change the URL that RAWR-Player read (second URL) to the URL that used in the download link (first URL)?
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: rejetto on November 11, 2008, 11:54:45 AM
I just confirmed there's something wrong with the player...
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: Novox on November 11, 2008, 12:13:48 PM
I think there is a problem on template javascript named "terayon_previewbox.js". The problem is in the passing file name method.
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: TSG on November 11, 2008, 03:48:34 PM
I have known about this bug for a long time, And I can't seem to fix it, I think there is an attempt to fix it in the javascript, where I replace + with %2B, but I am unsure if it works. I think i remember actually talking to rejetto about it. But anyway, if you can figure out a fix for it, cool, but I will look into this AGAIN for the next release.
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: rogernie on November 12, 2008, 08:06:00 PM
Hi Steven,

when will you have the school holiday ??? I think some of us are looking for a new template with new function( Delete/Create folder) so much ;D
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: TSG on November 13, 2008, 08:06:57 AM
I graduate university soon, i should be finished by next friday, but then i have to pack to move interstate with my family. So i'll get around to it when i can.
Title: Re: RAWR-Player and URL Encoding with '+'
Post by: rejetto on November 15, 2008, 03:50:04 PM
i know there are unofficial modified versions with "delete" included, around...