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 possible?
On Sun, Jan 5, 2014 at 1:05 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > 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. >> Thats the problem >> Am 04.01.2014 13:21 schrieb "Massimo Di Pierro" <massimo....@gmail.com>: >> >>> 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. Preferably for all sites if it should happen again. >>>> Do I have to do some nginx magic to do that or can it be done within >>>> web2py? >>>> thanks >>>> >>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "web2py-users" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/ >>> topic/web2py/dqxeN7fQS-Y/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> web2py+un...@googlegroups.com. >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/dqxeN7fQS-Y/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.