Bug #6281 [NoF->Csd]: My wishlist doesn't work =(
| From: | techtonik at php dot net | Date: | Fri, 03 Nov 2006 18:36:35 +0000 |
| Subject: | Bug #6281 [NoF->Csd]: My wishlist doesn't work =( | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-5399@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=6281&edit=1
ID: 6281
User updated by: techtonik at php dot net
Reported By: techtonik at php dot net
-Status: No Feedback
+Status: Closed
Id: 6281
Type: Bug
Package: Web Site
PHP Version: Irrelevant
Assigned To: mj
New Comment:
Seems2BFixed.
Previous Comments:
------------------------------------------------------------------------
[2006-11-03 10:57:14] mj at php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2006-10-06 08:41:34] mj at php dot net
This seems to work for me (now).
techtonik, mikl: Please change your wishlist URL on
http://pear.php.net/account-edit.php?handle=<handle>
and replace all
& with & there. After that it should work properly.
And please give feedback here afterwards.
------------------------------------------------------------------------
[2006-05-16 13:06:37] mikael at synd dot info
account-edit.php seems to quote the posted values before inserting into
the database and wishlist.php outputs the quoted uri directly using
header("Location: $url");
The result is that the browser is redirected to an uri where every & is
quoted to &
A solution could be to use unhtmlentities() from
http://www.php.net/htmlspecialchars in
wishlist.php before the call to
header('Location: ..')
Using
http://pecl.php.net/wishlist.php/mikl
Expected
http://www.amazon.com/gp/registry/wishlist/3QP28R224S50N/103-4864265-6791821?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=13&y=12
Actual
http://www.amazon.com/gp/registry/wishlist/3QP28R224S50N/103-4864265-6791821?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=13&y=12
------------------------------------------------------------------------
[2006-02-18 10:10:04] techtonik at php dot net
Ok.
------------------------------------------------------------------------
[2006-02-18 10:09:25] techtonik at php dot net
Just edit your PEAR details to specify URL with a ampersands in
wishlist field to see how it "works". I've just adjusted mine for you,
but better check this overhtmlescaping yourself.
http://pear.php.net/wishlist.php/techtonik
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=6281
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=6281&edit=1