Pages that use the <base> tag to set the base for relative URLs aren't
rewritten to use the archive prefix
(https://developer.mozilla.org/en/HTML/Element/base).
What steps will reproduce the problem?
1. Open the page http://arquivo.pt/wayback/wayback/id27146index0
2. Click on any link beside those of the navigation left bar
3. The browser is directed to the live Web instead of staying inside the
Archive.
The issue is caused by the lack of any rules for rewriting the base URL, either
in the JS[1] code or the Java code[2]; that is, both the client-side rewrite as
well as the server-side rewrite.
[1]
https://code.google.com/p/pwa-technologies/source/browse/trunk/PwaArchive-access
/projects/wayback/wayback-webapp/src/main/webapp/replay/client-rewrite.js
[2]
https://code.google.com/p/pwa-technologies/source/browse/trunk/PwaArchive-access
/projects/wayback/wayback-core/src/main/java/org/archive/wayback/replay/HTMLPage
.java
Original issue reported on code.google.com by whisp...@gmail.com on 24 Jul 2012 at 5:41
Original issue reported on code.google.com by
whisp...@gmail.com
on 24 Jul 2012 at 5:41