Closed Bug 49338 Opened 24 years ago Closed 24 years ago

Mac-\n\n\n\\n\n's appear in Security Advisor

Categories

(Core Graveyard :: Security: UI, defect, P3)

1.0 Branch
PowerPC
All
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: junruh, Assigned: javi)

References

Details

(Whiteboard: [nsbeta3+])

Mac only. build 081620
I've looked into this and don't know why it's happening.  PSM doesn't send back 
that string.  It's just there.   Who on the layout team could answer questions 
about this?
Keywords: nsbeta3
Keywords: nsmac2
Marking this an nsbeta3+ bug.
Whiteboard: [nsbeta3+]
*** Bug 50315 has been marked as a duplicate of this bug. ***
Turns out there was a line of JavaScript that did something like this:

function foo(d) {
var prefix = '<input type=hidden name="';
var suffix = '">\\n';

d.write(prefix + s + suffix);
}

Mac doesn't like the '\\n' sequence which was in there because on the other 
platforms NLS use to strip out the backslash and just display the 'n' on the 
screen.  The opposite of what we're seeing on the Mac.

So the above segment was re-written to look like this:

function foo(d) {
var prefix = '<input type=hidden name="';
var suffix = '">';

d.writeln(prefix + s + suffix);
}

and everything works as expected now.

Will check in a fix when the tree opens up.
Fix checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verifying this depends on bug 54207.
Depends on: 54207
Depends on: 57081
This appears to be fixed in the 10/26 trunk build. I can open the Security
Manager once after restarting the Mac. Adding vbranch keyword.
Keywords: vbranch
OS: All
Verified with the 10/29 MN6 build.
Status: RESOLVED → VERIFIED
Keywords: vbranch
Mass changing Security:Crypto to PSM
Component: Security: Crypto → Client Library
Product: Browser → PSM
Version: other → 2.1
Mass changing Security:Crypto to PSM
Product: PSM → Core
Version: psm2.1 → 1.0 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.