FlashICT.net

Ideas and thoughts about the use of Flash and related tools within education

FlashICT.net header image 2

Urlencoding issues

December 11th, 2005 · 1 Comment

Following a bit of research I’ve discovered why I’ve been experiencing so many issues with Urlencoding (as explained in my previous post).

Into the Blue divx

From this page – http://www.permadi.com/tutorial/urlEncoding/ – it would appear that the + sign Collateral Damage buy Barbie Mariposa and Her Butterfly Fairy Friends move becomes %2B

Downloading Nancy hd
Tender Mercies movie download

as I thought. However, it also explains that download Growing Out movie is urlencoded as %20 or +. This means that any urlencoded text that contains the + sign will change this to a space.

Dedication psp

This is thus a rather complex issue that means urlencoding / un-encoding of a + sign can potentially lead to issues.

I think the source of my issues with this may actually be that continual urlencoding and un-urlencoding means that the stored text is processed twice. The first time, the code will

Mr. & Mrs. Smith full movie

Impact Pt I movie Immortal Beloved divx

Mum & Dad ipod

The TV Set rip

be correctly un-urlencoded, turning all the text into the required format. However, if this text is again un-urlencoded, most of the text will simply be ignored, but the + sign will be processed again – and will appear as a space.

Thus, I suspect the solution to this issue is to look carefully through all the programming to ensure that any stored text is only un-urlencoded once – I suspect the issue is that I’ve asked text to be un-urlencoded more than once, thus causing this rather complicated issue.

Love Happens movie

Tags: Flash experiments

1 response so far ↓

  • 1 Andrew Field // Dec 11, 2005 at 1:57 am

    This does appear to have solved the issue entirely.

    When I ‘double’ urlencoded or ‘double’ un-urlencoded data, this had no effect – apart from the + sign. As this stands for different things depending on whether the data is encoded or not, this created the problem.

    All I have done now is vastly simplify when the question data is encoded – this is now only done when data is saved and loaded or when the data is passed onto the finished Flash file.

    I’m still working on it, but it is excellent to have discovered the solution to this rather irksome problem :)

Leave a Comment