Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

html entities are not correct #72

Closed
ya-cha opened this issue Mar 12, 2015 · 2 comments
Closed

html entities are not correct #72

ya-cha opened this issue Mar 12, 2015 · 2 comments

Comments

@ya-cha
Copy link

ya-cha commented Mar 12, 2015

No matter which Transformer I use, my output is always somthing like:

http://www.amazon.de/Stirb-langsam-Ein-guter-Sterben/dp/B00HX0HCC4%3FSubscriptionId%3DAKIAISBSCO24IFLAVO6Q%26tag%3Dmytag-21%26linkCode%3Dsp1%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00HX0HCC4

So there is %3D instead of an equal sign. Is there a way to fix it?

@Exeu
Copy link
Owner

Exeu commented Mar 13, 2015

What about: urldecode()?

http://php.net/manual/de/function.urldecode.php

@ya-cha
Copy link
Author

ya-cha commented Mar 13, 2015

Yeah. I used this. It's just the same on the demo site: http://apaiio.dev.pixel-web.org/
The Amazon Link Checker return false. So it might be useful to use urldecode() in the lib.
However, thanks for your awesome work.

Edit: With urldecode(), Plus symbols ('+') are decoded to a space character. I now use str_replace() instead.

@ya-cha ya-cha closed this as completed Mar 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants