Post Reply 
No artwork
22-02-2013, 11:14 (This post was last modified: 22-02-2013 11:15 by bubbleguuum.)
Post: #26
RE: No artwork
(21-02-2013 17:19)simoncn Wrote:  @bubbleguum

(22-11-2012 00:40)bubbleguuum Wrote:  Gzip+base64 is a good idea as it is decodable to the original string.

I tried this. The zlib compression actually increases URL length, with base64 expanding it even more.

Instead, I've decided to use an alternative encoding for special characters. For example, instead of encoding a space as '%20', I'm encoding it as '*20'. The '*' character is unreserved in URLs, and I'm hoping that the buggy control points and renderers will treat it as a normal character and pass it through unchanged.

This approach preserves URL readability, doesn't expand URL length, and doesn't require external persistent storage.

That's fine if you can find an alternate scheme.

In my experience, URL length and readability doesn't matter much.
You have not seen Google Music streaming URLs, which are super long and unreadable =).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
No artwork - wazza69 - 21-11-2012, 15:29
RE: No artwork - simoncn - 21-11-2012, 16:05
RE: No artwork - wazza69 - 21-11-2012, 16:25
RE: No artwork - simoncn - 21-11-2012, 17:41
RE: No artwork - wazza69 - 21-11-2012, 20:01
RE: No artwork - simoncn - 21-11-2012, 20:19
RE: No artwork - wazza69 - 21-11-2012, 21:34
RE: No artwork - mreip1 - 21-11-2012, 22:02
RE: No artwork - wazza69 - 21-11-2012, 23:26
RE: No artwork - simoncn - 21-11-2012, 23:44
RE: No artwork - bubbleguuum - 22-11-2012, 00:40
RE: No artwork - simoncn - 22-11-2012, 08:56
RE: No artwork - bubbleguuum - 22-11-2012, 09:53
RE: No artwork - simoncn - 22-11-2012, 10:46
RE: No artwork - bubbleguuum - 22-11-2012, 10:53
RE: No artwork - simoncn - 22-11-2012, 12:09
RE: No artwork - simoncn - 21-02-2013, 17:19
RE: No artwork - bubbleguuum - 22-02-2013 11:14
RE: No artwork - Crom - 26-11-2012, 17:41
RE: No artwork - bbrip - 26-11-2012, 18:39
RE: No artwork - simoncn - 26-11-2012, 18:54
RE: No artwork - Crom - 27-11-2012, 16:10
RE: No artwork - Crom - 27-11-2012, 16:47
RE: No artwork - wazza69 - 29-11-2012, 12:40
RE: No artwork - simoncn - 29-11-2012, 13:52
RE: No artwork - simoncn - 21-02-2013, 17:08

Forum Jump:


User(s) browsing this thread: 1 Guest(s)