Closed
Bug 70873
Opened 25 years ago
Closed 25 years ago
window.open(non-ASCII characters)-->javascript: syntax error
Categories
(Core :: Internationalization, defect)
Tracking
()
People
(Reporter: namsh, Assigned: jst)
Details
I cannot give you a URL because It's a private(?) network in my company.
I can see next in the mozilla status area:
javascript:winopena(%27/cgi-bin/ver3_IF_COM_DETAIL?CO5112.TXT,YB03,%C0%FC%BB%E7,20%27)
And I can see in the terminal:
JavaScript error:
line 0: syntax error
Netscape 4.76 works fine.
Comment 1•25 years ago
|
||
namsh@kldp.org: what build date of Mozilla are you using? Has Mozilla
always failed on this, or is it a problem that only began recently?
Can you copy the function winopena() into the bug? It's going to be
impossible to work on this bug without an example...
Thanks -
| Reporter | ||
Comment 2•25 years ago
|
||
I built it today and re-check the problem. So, build date is 20010305 (KST).
It always failed (about 4 or 5 month after I started using mozilla).
<!--
var papaa;
function winopena(loc) {
papaa=window.open(loc,'LGIC_1','top=0,left=0,width=640,height=480,resizable=yes,scrollbars=yes,menubar=yes');}
oncar_inf = new Image(30,93);oncar_inf.src = "/ows-img/v3bluepregif";offcar_inf
= new Image(30,93);offcar_inf.src = "/ows-img/v3bluepre1.gif";onsch_inf = new
Image(30,123);onsch_inf.src = "/ows-img/v3blueback.gif";offsch_inf = new
Image(30,123);offsch_inf.src ="/ows-img/v3blueback1.gif";// -->
I can see the documents like this:
href="javascript:winopena('/cgi-bin/ver3_IF_TOD_DETAIL?OP16382.TXT,TOD4')"
Which has no '%27' or '%C0'...
And from the page source, the original URL is
href="javascript:winopena('/cgi-bin/ver3_IF_COM_DETAIL?CO5112.TXT,YB03,˟ȍ,20')
It contains Korean. I guess while mozilla converting it to unicode, it changed
to the URL which
contains '%27' or '%C0'...
Comment 3•25 years ago
|
||
OK, thanks - this looks like a duplicate of a problem we've had with
international characters in URLs. Reassigning to Internationalization
component, and jst - as with the other bugs.
I believe this may be a duplicate of one of these, for example:
bug 55468
bug 66055
bug 63314
Assignee: rogerl → jst
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Internationalization
Ever confirmed: true
Summary: javascript: syntax error → window.open(non-ASCII characters)-->javascript: syntax error
Comment 6•25 years ago
|
||
I agree with Fabian; resolving as a duplicate -
*** This bug has been marked as a duplicate of 55468 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 7•25 years ago
|
||
Verified as duplicate, please reopen if someone disagrees.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•