Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12663 closed bug (notabug)

Syntax error, unrecognized expression when passing string with forward slash ('/') to $

Reported by: jordanj77 Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

Description

$("some-url") returns an empty object.

$("/some/url") throws a Syntax error, unrecognized expression.

Any reason the latter shouldn't just return an empty object?

Example: http://jsfiddle.net/6rF6h/1/

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed

My reason would be because it's a syntax error and an unrecognized expression.

Note: See TracTickets for help on using tickets.