#9908 closed Bug (invalid)
Link dialog code is outdated after JS links has been forbidden
| Reported by: | Piotrek Koszuliński | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 4.0 |
| Keywords: | Cc: |
Description
Since #9289 JS links aren't allowed, but I found some evidences that that patch wasn't complete. E.g.:
urlOnChangeTestOther = /^((javascript:)|[#\/\.\?])/i;
Few lines later part of this pattern is invalidated:
if ( (/javascript\:/).test( this.getValue() ) ) {
alert( commonLang.invalidValue );
return false;
}
Change History (1)
comment:1 Changed 13 years ago by
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |

Taking into consideration comments from #9661 and #9637, I'm closing this issue as invalid.