Closed Bug 269613 Opened 20 years ago Closed 19 years ago

Mozilla can hang when 8-bit characters are used in -remote openURL(...)

Categories

(Core Graveyard :: X-remote, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 229755

People

(Reporter: bugzilla, Assigned: blizzard)

Details

(Keywords: hang)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040927
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040927

When I have an active Mozilla process, I open new URLs from the command
line using

  mozilla -remote "openURL($url, new-window)"

However, I just noticed that 8-bit characters in $url can make Mozilla
hang.  Let $url be

 
http://www.dokpro.uio.no/perl/ordboksoek/ordbok.cgi?OPP=nå&bokmaal=S%F8k+i+Bokm%E5lsordboka

Mozilla will hang.  Then replace the "å" with %E5, and try again:  No hang.
Also note that the 8-bit character does not hang Mozilla when the text after
the "å" (i.e. "&bokmaal=...") is removed.

This bug has been verified on Mozilla 1.7.3, 1.8a3 and 1.8a4 on Linux.

Reproducible: Always
Steps to Reproduce:
1. Start Mozilla and go to any page you like
2. From the command line, type mozilla -remote "openURL($url, new-window)"
   where $url is the above URL with the 8-bit character "å" 

Actual Results:  
Mozilla froze completely, and had to be killed with SIGKILL.

Expected Results:  
Opened a new window with the appropriate URL loaded.
Looks like my 8-bit character was destroyed by utf8.
Hey, perhaps that's the problem with Mozilla as well? :-)
My terminal is ISO-8859-1, not UTF-8.  The byte I gave
to openURL() was a raw 0xE5.
Severity: normal → critical
Keywords: hang
Assignee: nobody → blizzard
Component: XP Apps: Cmd-line Features → X-remote
QA Contact: bugzilla → blizzard

*** This bug has been marked as a duplicate of 229755 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.