Re: [web2py] Re: converted url %3F and %3D

2014-01-05 Thread Kevin Bethke
well I want to make a redirekt and parse the url. thats the plan. So my idea was to get every 404 error if there is %3F inside the requested url it will redirekt you to the url where it is replaced by a ? the same thing for the = Sign in all other cases it shows you the 404 page. would that be poss

Re: [web2py] Re: converted url %3F and %3D

2014-01-04 Thread Massimo Di Pierro
The function you seek for is urllib.unquote but without a concrete example of how the wrong link is generated I am not sure about how to apply that function. On Saturday, 4 January 2014 10:35:14 UTC-6, BlueShadow wrote: > > External links to my side from a diffrent website i got no control over.

Re: [web2py] Re: converted url %3F and %3D

2014-01-04 Thread Kevin Bethke
External links to my side from a diffrent website i got no control over. Thats the problem Am 04.01.2014 13:21 schrieb "Massimo Di Pierro" : > How are you generating those links? Can you show the code? > > On Saturday, 4 January 2014 05:57:10 UTC-6, BlueShadow wrote: >> >> Hi, >> for some reason s

[web2py] Re: converted url %3F and %3D

2014-01-04 Thread Massimo Di Pierro
How are you generating those links? Can you show the code? On Saturday, 4 January 2014 05:57:10 UTC-6, BlueShadow wrote: > > Hi, > for some reason some external links converted the ?id=10 in one of my urls > to %3Fid%3D10 my question is how can I convert that request back to the > existing url.