Ticket #5017 (closed defect: fixed)
Avoid "x00" due to ShrinkSafe/browser bug #5027
| Reported by: | guest | Owned by: | alex |
|---|---|---|---|
| Priority: | highest | Milestone: | 1.0.1 |
| Component: | Dijit | Version: | 1.0 |
| Severity: | critical | Keywords: | |
| Cc: |
Description
When doing a build, the compression step is inserting a null character [0x00] whenever it encounters x00 [0x5C 0x78 0x30 0x30].
This was found when doing a custom build that included the LinkDialog?.js, which includes the ValidationTextBox?.js. The ValidationTextBox?.js has "x00" in two places and in both places the character sequence [0x5C 0x78 0x30 0x30] is replaced with [0x00].
Manually removing the "x00" from ValidationTextBox?.js, performing the build, then manually adding the "x00" back to the compressed file works just fine.
This was not an issue in Dojo 0.9.0 and is new to 1.0.0.
http://download.dojotoolkit.org/release-1.0.0/dojo-release-1.0.0/dijit/form/ValidationTextBox.js
http://trac.dojotoolkit.org/browser/dijit/trunk/form/ValidationTextBox.js
This is quite repeatable as it was happening for tk on the dojotoolkit.org website.