Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urlencode problem with SEO URL converting plus sign #1093

Closed
seopower opened this issue Dec 22, 2013 · 1 comment
Closed

urlencode problem with SEO URL converting plus sign #1093

seopower opened this issue Dec 22, 2013 · 1 comment

Comments

@seopower
Copy link

I have opencart 1.5.5 where I have enabled the seo url from system settings.

I am facing problem with plus sign in query string of one of my url which is not being converted to %2B even if I use urlencode() before sending to the new page.

my url - localhost/webRegisterSuccess?id=T3bc6YnuCFwAhNXCBKx9ydNAE2u/FnWZ+zDeLTpMNYg=&mode=1

has a plus sign which should get converted to %2B but its not happening even if I do the urlencode before redirecting to new page.

It works fine if I disable the seo url.

@4levels
Copy link
Contributor

4levels commented Dec 28, 2013

Are you working with nginx? I've stumbled upon a similar issue where I had to add the following lines in my project configuration:

// NGINX fix
if (isset($_SERVER['PATH_INFO'])) {
  $_SERVER['PATH_INFO'] = urldecode($_SERVER['PATH_INFO']);
}

Hope this helps ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants