2

I get 406 Not Acceptable on:

/process.php?return=http://blog

but not on:

/process.php?return=http//blog

only difference is :

How can I solve it?

Mohammad Ali Akbari
  • 10,345
  • 11
  • 44
  • 62

1 Answers1

0

You need to escape the colon with %3A like this:

/process.php?return=http%3A//blog

Depending on what you're doing with the URL, you might also find that escaping the slashes with %2F is a good idea:

/process.php?return=http%3A%2F%2Fblog

See "Reserved characters" here: http://www.blooberry.com/indexdot/html/topics/urlencoding.htm for more information.

RichieHindle
  • 272,464
  • 47
  • 358
  • 399