Rank: Newbie
Groups: Member
Joined: 6/17/2011(UTC) Posts: 1
|
All: Attempting to get AurigmaUP working and running into a snag. If I post a cookie value with a '+' character it ends up as a 'space' in the cookie value. If I have a cookie like this (let's look at a PHP sample): Code:$url .= 'cookies=test='.rawurlencode('test+of+the+spaces+on++the++receiver==');
. . . [ then I demo it via AurigmaUp and it works... image goes to the upload path perfectly ] but... then I do this on the upload receiver: Code:error_log(print_r($_COOKIE,true));
I will see spaces in the cookie value where the + characters were. example: Code:(
[test] => test of the spaces on the receiver==
)
I am plugging this into a legacy app so I cannot update the value of the cookies. Any solutions are greatly appreciated. Thanks, Chris
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
Are you sure that you have properly URL encoded the string? Try to replace + character by %2B explicitly and see what happens. I have found a discussion on Stackoverflow which says that + characters is not interpreted as a special character for URLs and therefore some URL encoders may pass this character unchanged.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.