cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

mothra changes stored url on window redraw #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
i'm browsing tvtropes in mothra. for most pages, tcs reports a "bad utf 
sequence". i want to clear the message off so i right-click the border. that 
works, but it also changes the url, dropping the last part. 

for instance, i load this page:
http://tvtropes.org/pmwiki/pmwiki.php/Main/UnusualEars
then i right-click the border, and the url displayed becomes this:
http://tvtropes.org/pmwiki/pmwiki.php/

the page doesn't reload, just the displayed url changes. it becomes a problem 
if i click the file list before i snarf; the snarfed url is then the 
abbreviated one. (i often do this to get the page's url after snarfing some 
link within it.)

Original issue reported on code.google.com by tereniao...@gmail.com on 6 Jun 2014 at 8:55

GoogleCodeExporter commented 9 years ago
i can't reproduce this.

Original comment by stanley....@gmail.com on 6 Jun 2014 at 11:39

GoogleCodeExporter commented 9 years ago
correction: i CAN reproduce this when visiting the url above.

Original comment by stanley....@gmail.com on 6 Jun 2014 at 11:42

GoogleCodeExporter commented 9 years ago
loading http://tvtropes.org/pmwiki/pmwiki.php/Main/UnusualEars and clicking 
mouse button 1 on the URL history causes the selected URL to change to 
http://tvtropes.org/pmwiki/pmwiki.php/. this is printed at the top as 
"selected: http://tvtropes.org/pmwiki/pmwiki.php/", but in this case the Url: 
line is not changed.

Original comment by stanley....@gmail.com on 7 Jun 2014 at 12:09

GoogleCodeExporter commented 9 years ago
this does not seem to be related to URL length. the URL 
http://notreally.info/transport/planes/blackbird/a-12/60-6924/ contains more 
characters but does not produce the same behavior.

Original comment by stanley....@gmail.com on 7 Jun 2014 at 12:11

GoogleCodeExporter commented 9 years ago
the valid URL http://9front.org/pmwiki/pmwiki.php/Main/UnusualEars/ likewise 
does not produce the same behavior. what gives?

Original comment by stanley....@gmail.com on 7 Jun 2014 at 12:14

GoogleCodeExporter commented 9 years ago
the tvtropes HTML contains the following:

<base href="http://tvtropes.org/pmwiki/pmwiki.php/" />

Original comment by stanley....@gmail.com on 7 Jun 2014 at 12:18

GoogleCodeExporter commented 9 years ago
i added a <base href> tag similar to the above at 
http://9front.org/pmwiki/pmwiki.php/Main/UnusualEars/index.html and now 
visiting http://9front.org/pmwiki/pmwiki.php/Main/UnusualEars/ can produce the 
same behavior.

Original comment by stanley....@gmail.com on 7 Jun 2014 at 12:22

GoogleCodeExporter commented 9 years ago
the entire baseref appears to replace the selected URL. note: examine the HTML 
of http://9front.org/pmwiki/pmwiki.php/Main/UnusualEars/index.html: the baseref 
http://tvtropes.org/pmwiki/pmwiki.php/ is what replaces the selected URL.

Original comment by stanley....@gmail.com on 7 Jun 2014 at 12:25