[PHP] $_GET is Mangling Base64 value

2010-03-11 Thread George Langley
Hi all. Is there an issue with $_GET not handling a Base64-encoded value correctly? (PHP is 5.1.6) Am receiving a Base64-encoded value: theurl.com/index.php?message=x  and retrieving it with $_GET: echo $_GET[message]; x is a Japanese phrase, that has been encoded into

Re: [PHP] $_GET is Mangling Base64 value

2010-03-11 Thread Michael Shadle
On Thu, Mar 11, 2010 at 1:57 PM, George Langley george.lang...@shaw.ca wrote: x is a Japanese phrase, that has been encoded into Base64. So is using the + symbol: ...OODq+OCou... but my $_GET is replacing the + with a space: ...OODq OCou... thus the base64_decode() is failing

Re: [PHP] $_GET is Mangling Base64 value

2010-03-11 Thread Ashley Sheridan
On Thu, 2010-03-11 at 14:57 -0700, George Langley wrote: Hi all. Is there an issue with $_GET not handling a Base64-encoded value correctly? (PHP is 5.1.6) Am receiving a Base64-encoded value: theurl.com/index.php?message=x and retrieving it with $_GET: echo

Re: [PHP] $_GET is Mangling Base64 value

2010-03-11 Thread Adam Richardson
On Thu, Mar 11, 2010 at 4:57 PM, George Langley george.lang...@shaw.cawrote: Hi all. Is there an issue with $_GET not handling a Base64-encoded value correctly? (PHP is 5.1.6) Am receiving a Base64-encoded value: theurl.com/index.php?message=x and retrieving it with

Re: [PHP] $_GET is Mangling Base64 value

2010-03-11 Thread Daniel Egeberg
On Thu, Mar 11, 2010 at 22:57, George Langley george.lang...@shaw.ca wrote:        Hi all. Is there an issue with $_GET not handling a Base64-encoded value correctly? (PHP is 5.1.6)        Am receiving a Base64-encoded value: theurl.com/index.php?message=x  and retrieving it with

Re: [PHP] $_GET is Mangling Base64 value

2010-03-11 Thread Daniel Egeberg
On Thu, Mar 11, 2010 at 23:16, Daniel Egeberg degeb...@php.net wrote: On Thu, Mar 11, 2010 at 22:57, George Langley george.lang...@shaw.ca wrote:        Hi all. Is there an issue with $_GET not handling a Base64-encoded value correctly? (PHP is 5.1.6)        Am receiving a Base64-encoded

Re: [PHP] $_GET is Mangling Base64 value

2010-03-11 Thread George Langley
Hi again. Thanks for all the info! Not sure I'd agree that GET should just assume it was URLencoded, but hey - who am I to argue?  :-{)] As mentioned, this is eventually buried into a Joomla! site's login functions (displays any errors). So not sure I'd have access to the

Re: [PHP] $_GET is Mangling Base64 value

2010-03-11 Thread Ashley Sheridan
On Thu, 2010-03-11 at 17:34 -0700, George Langley wrote: Hi again. Thanks for all the info! Not sure I'd agree that GET should just assume it was URLencoded, but hey - who am I to argue? :-{)] As mentioned, this is eventually buried into a Joomla! site's login functions