Export to GitHub

plan9front - issue #202

mothra changes stored url on window redraw


Posted on Jun 6, 2014 by Happy Giraffe

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.)

Comment #1

Posted on Jun 6, 2014 by Grumpy Bird

i can't reproduce this.

Comment #2

Posted on Jun 6, 2014 by Grumpy Bird

correction: i CAN reproduce this when visiting the url above.

Comment #3

Posted on Jun 7, 2014 by Grumpy Bird

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.

Comment #4

Posted on Jun 7, 2014 by Grumpy Bird

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.

Comment #5

Posted on Jun 7, 2014 by Grumpy Bird

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

Comment #6

Posted on Jun 7, 2014 by Grumpy Bird

the tvtropes HTML contains the following:

Comment #7

Posted on Jun 7, 2014 by Grumpy Bird

i added a 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.

Comment #8

Posted on Jun 7, 2014 by Grumpy Bird

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.

Status: BasiclySound

Labels:
Type-BlackjackAndHookers Priority-Low