rejetto forum

RAWR-Player and URL Encoding with '+'

Novox · 11 · 7331

0 Members and 1 Guest are viewing this topic.

Offline Novox

  • Occasional poster
  • *
    • Posts: 84
    • View Profile
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!


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
Indeed, as far as i remember, + is translated to space only in queries/parameters (that is, after the ? separator).
And there's no "?" anywhere...


Offline Novox

  • Occasional poster
  • *
    • Posts: 84
    • View Profile
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+


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile

Offline Novox

  • Occasional poster
  • *
    • Posts: 84
    • View Profile
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)?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
I just confirmed there's something wrong with the player...


Offline Novox

  • Occasional poster
  • *
    • Posts: 84
    • View Profile
I think there is a problem on template javascript named "terayon_previewbox.js". The problem is in the passing file name method.


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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.


Offline rogernie

  • Occasional poster
  • *
    • Posts: 37
    • View Profile
    • Moster File Server
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


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i know there are unofficial modified versions with "delete" included, around...