Search and Top Navigation
#4681 closed bug (fixed)
Opened July 14, 2009 12:56PM UTC
Closed May 17, 2011 02:02PM UTC
Tabs: _sanitizeSelector needs to escape '.'
Reported by: | liangent | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.9.0 |
Component: | ui.tabs | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
45 _sanitizeSelector: function(hash) { 46 return hash.replace(/:/g, '\\\\:'); // we need this because an id may contain a ":" 47 },
return hash.replace(/:/g, '\\\\:');should be changed into something like
return hash.replace(/([:\\.])/g, '\\\\$1');. because dots can also cause problems.
Attachments (0)
Change History (6)
Changed November 17, 2009 05:57PM UTC by comment:1
milestone: | TBD → 1.8 |
---|
Changed March 28, 2011 09:33PM UTC by comment:3
status: | new → open |
---|
Verified for jQuery UI 1.8.11. See duplicate bug for test case in jsFiddle and fix.
Changed May 11, 2011 02:06AM UTC by comment:4
Fixed in Github: https://github.com/jquery/jquery-ui/pull/244
Changed May 17, 2011 02:01PM UTC by comment:5
summary: | _sanitizeSelector needs to escape '.' → Tabs: _sanitizeSelector needs to escape '.' |
---|