Opera post (GET) - hash fragment of the URL

According to this line from the Apache access log, it seems that Opera sometimes includes a hash fragment in the URI sent to the server:

[26 / Apr / 2011: 01: 09: 03 +0200] "GET / dagbok / # type = food HTTP / 1.1" 500 - "-" "Opera / 9.80 (Windows NT 6.1; U; nb) Presto / 2.8. 131 Version / 11.10 "

Any experience or understanding of why he is doing this?

The URI must be captured by the jQuery hash event change event, which in turn calls .load () on the URI /dagbok/food/.

PS! 500 Internal Serverhappens because routing does not understand the URI with a hash fragment in it. And he too.

Update with RewriteRules:

RewriteEngine on
RewriteCond% {REQUEST_FILENAME}! -d
RewriteCond% {REQUEST_FILENAME}! -f
RewriteRule !. (Js | ico | txt | gif | jpg | png | css) $ index.php

Then Index.php launches the Zends front controller / router, which cannot find any route for this URI. This is correct, since this URI should never reach the server.

+5
source share
1 answer

, jQuery #hash- URL- XMLHttpRequest , . , Opera . (, , ​​Opera - , - , , , , , .)

0

All Articles