Opened 10 years ago
Closed 10 years ago
#12181 closed defect (fixed)
Build interning breaks on filenames with hypens.
Reported by: | dante | Owned by: | dante |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | BuildSystem | Version: | 1.6.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
eg
var x = dojo.cache("myns", "file-name.html");
The regexp matching the filename bit only allows /'s and \w+'s:
([\\w\\.\\/]*)
adding a - to that block fixes:
([\\w\\.\\/-]*)
in buildUtil.js - buildUtil.interningDojoUriRegExpString
too late for 1.6?
Attachments (1)
Change History (2)
Changed 10 years ago by
Attachment: | buildintern.patch added |
---|
comment:1 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [23584]) Committing dante's buildscript patch for hyphenated filename interning explosions, after re-testing locally. Fixes #12181 and ditches a superfluous print.