Skip to main content

Search and Top Navigation

#8732 closed bug (invalid)

Opened October 25, 2012 04:15PM UTC

Closed November 09, 2012 09:09AM UTC

Datepicker: Regular expression not terminating.

Reported by: menslow Owned by: menslow
Priority: minor Milestone: 1.10.0
Component: ui.datepicker Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

Where: jquery.ui.datepicker.js: Line 1100

What: Regular expression is not terminating.

Version: jQuery UI v1.9.0

Browser: Chrome v22.0.1

OS: Mac OS 10.7.5

The regular expression on line 1100 is not terminating which cause all following code to be interpreted as a string.

This does not throw an exception that I have seen however, it affects plugins or JavaScript that is executes after jQuery UI.

In my case:

/*! jQuery UI - v1.9.0 - 2012-10-24
(function(e,t){function i(t,n){var r,i,o,u=t.nodeName.toLowerCase();return"area"... 
/*
 * jQuery Form Plugin
 */
(function(b){b.fn.ajaxSubmit=function(t){if(!this.length){a("ajaxSubmit: skipping...
/*
 * jQuery validation plug-in 1.6
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)...
/*
 * Typekit
 */
try{Typekit.load();}catch(e){}

jQuery UI, jQuery Form Plugin and jQuery Validation plugin are all included in one file. Typekit fails to execute due to line 1100 of datepicker.

Attachments (0)
Change History (2)

Changed October 25, 2012 04:20PM UTC by scottgonzalez comment:1

owner: → menslow
status: newpending

https://github.com/jquery/jquery-ui/blob/1.9.0/ui/jquery.ui.datepicker.js#L1100 certainly looks valid to me. Can you provide a reduced test case that only uses jQuery UI?

Changed November 09, 2012 09:09AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!