#567 closed defect (fixed)
ContentPane::splitAndFixPaths causes "unterminated parenthetical"
Reported by: | js-dojo-tester | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
R3357 introduces an issue in ContentPane::splitAndFixPaths. => Spaces in a href-attribute causes one of the regex-matches/searches to stop after the first space.
OK <a href="javascript:doSomething(50,100);" > test </a> NOK: <a href="javascript:doSomething(50, 100);" > test </a> => The space between '50,' and '100' causes a parsing error and generates a 'unterminated parenthetical'-javascript error in FF.
P.S: As a workaround I can use the alternative syntax: OK: <a href="javascript:" onclick="doSomething(50, 100); return false;" >
Change History (3)
comment:1 Changed 15 years ago by
Owner: | changed from anonymous to [email protected]… |
---|
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Enhanced splitAndFixPaths in ContentPane? to exclude fix on these protocols:
http: https: ftp: ftps: file: news: mailto: and javascript:
Should be fixed as of 3457, extended testcase for test_RemotePane.html
Thank you js-dojo-tester for finding this!
/ Fredrik