langziyang Posted January 16, 2015 Share Posted January 16, 2015 i dev some module,this module will return some data,i need use the Tools:getValue() or $_GET。 this is the return url:http://jinber.com/module/alipay/return_page?buyer_email=langziyang%40yeah.net¬ify_id= RqPnCoPT3K9%252Fvwbh3InTu8fUygLUM2lmAg2c8aM65VXJ9r8AZmYdq5AFyFvyzzGCif2L so i use Tools::getVaule('notify_id') or $_GET['notify_id'] get the notify_id。 the echo this value,the display like this: RqPnCoPT3K9%2Fvwbh3InTu8fUygLUM2lmAg2c8aM65VXJ9r8AZmYdq5AFyFvyzzGCif2L the string"52" is lost,why? Link to comment Share on other sites More sharing options...
vekia Posted January 16, 2015 Share Posted January 16, 2015 hello it's lost when you use Tools:: or when you use $_GET ? Link to comment Share on other sites More sharing options...
cristic Posted January 16, 2015 Share Posted January 16, 2015 Actually the string "25" is lost. "%25" represents url encode of percent sign (%). So the string gets translated from ...K9%252Fvwbh... to ...K9%2Fvwbh... Check what is the correct value of notify_id that should be returned. Maybe it is already encoded... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now