Skip to main content

Bug Tracker

Side navigation

#12663 closed bug (notabug)

Opened October 05, 2012 09:30PM UTC

Closed October 05, 2012 09:50PM UTC

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/

Attachments (0)
Change History (1)

Changed October 05, 2012 09:50PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

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