given that you want a ready-to-use solution, can you give an example ? with /app/controller/function"#" you can't get what follows #, but the first " is in requested_uri as it should be.
On Friday, April 19, 2013 8:53:52 PM UTC+2, BlueShadow wrote: > > Thats no anchor thats the first random character i found. Try it it fails. > Code 400 > Am 19.04.2013 20:50 schrieb "Niphlod" <[email protected] <javascript:>>: > >> uhm.... you can't (even in a normal request) have the value that is >> assigned with an #anchor (call it anchor, fragment, whatever) ... that >> doesn't get passed to the webserver....so you can't have a page that fails >> because of that #part >> >> On Friday, April 19, 2013 8:22:21 PM UTC+2, BlueShadow wrote: >>> >>> Hi I got a custum error page which saves some of the data to give me a >>> quick overview of the why those errors happen. it stores the error code the >>> request.url and the useragent. my problem is I get a bunch of 400 errors. >>> and I want to know what the users/bots typed in exactly. request_uri gives >>> theurl of the error page request.url the URL they typed but stops at the >>> function. >>> so if I type >>> www.exampe.com/controller/**function<http://www.exampe.com/controller/function>"#" >>> >>> I get a 400 error but how can I get those 3 characters in my error log. >>> >> -- >> >> --- >> 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/qfl8qCtZJe8/unsubscribe?hl=en. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

