Changes

Jump to: navigation, search

Browser History:Redirects

1,466 bytes added, 21:35, 11 December 2005
Link temporary redirect
=== Link temporary redirect ===
 
In these cases, the source URL is probably the the "best" one, since the resource will presumably move again.
 
* Treat the source as canonical. This opens a vulnerability: a malicious site would construct temporary redirects to a good site, and could be notes as canonical. Subsequent visits or a bookmark to the good site might then be associated with the malicious site. For this reason, we should only treat the source as canonical in those cases where the user was redirected. This approach also has problems for titles and favicons, which will be associated with the destination page. Keeping track of the appropriate attributes may be challenging.
 
* Show the destination only. This would treat the redirect just like a permanent redirect, but we shouldn't update any bookmarks. The danger is if the user tries to revisit the page by clicking in history, the resource may have moved again.
 
Possibly the best compromise is to treat the source URL as canonical only if the destination has never been visited from somewhere else. If the destination is visited from somewhere else, we undo it and treat the destination as canonical. Bookmarks on the destination should always be assigned to the destination page regardless of canonicalization. This gets around the security problems (at worst, the user sees a funny URL in history, and then only for pages they've never seen before), while preserving most of the functionality forlegitimate temporary redirects.
=== Bookmark temporary redirect ===
== Approach ==
202
edits

Navigation menu