Opened 7 years ago

Closed 7 years ago

#8732 closed bug (invalid)

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.

Change History (2)

comment:1 Changed 7 years ago by Scott González

Owner: set to 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?

comment:2 Changed 7 years ago by trac-o-bot

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!

Note: See TracTickets for help on using tickets.