#35256 [Opn->Bgs]: base64_decode() error

From: Date: Thu, 17 Nov 2005 09:43:43 +0000
Subject: #35256 [Opn->Bgs]: base64_decode() error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88352@lists.php.net to get a copy of this message
ID: 35256 Updated by: derick@php.net Reported By: clubsky at gmail dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: freebsd 4.10 PHP Version: 4.4.1 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php You need to use urlencode() Previous Comments: ------------------------------------------------------------------------ [2005-11-17 10:40:28] clubsky at gmail dot com Description: ------------ http://domain/test.php?s=c2Nob29sbmFtZT3O0rXEyMvJ+sK3yc+1xLCuus263iZzY2hvb2xpZD0xNzg3ODgmdmFsaWRhdGU9Y2x1YnNreQ== but $_GET[s] value: c2Nob29sbmFtZT3O0rXEyMvJ sK3yc 1xLCuus263iZzY2hvb2xpZD0xNzg3ODgmdmFsaWRhdGU9Y2x1YnNreQ== base64_decode() return value error Reproduce code: --------------- http://domain/test.php?s=c2Nob29sbmFtZT3O0rXEyMvJ+sK3yc+1xLCuus263iZzY2hvb2xpZD0xNzg3ODgmdmFsaWRhdGU9Y2x1YnNreQ== but $_GET[s] value: c2Nob29sbmFtZT3O0rXEyMvJ sK3yc 1xLCuus263iZzY2hvb2xpZD0xNzg3ODgmdmFsaWRhdGU9Y2x1YnNreQ== base64_decode() return value error Expected result: ---------------- base64_decode() schoolname=ÎÒµÄÈËÉú·Éϵİ®ºÍºÞ&schoolid=178788 Actual result: -------------- chaos code ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35256&edit=1

« previous php.bugs (#88352) next »