emberjs / emberjs/ember.js

resemblesURL swallows options if more than one string passed

Open
#18,760 0 comments 0 reactions 0 assignees View on GitHub
Routing
Dominant language
TypeScript
Stars
22.6k
Forks
4.2k
Avg merge
3d 12h
Merged PRs (30d)
15

Description

Per @rwjblue [here](https://github.com/emberjs/ember.js/pull/18759#discussion_r382855934), there's a bug around how we check URLs with the `resemblesURL` function in `transitionTo`:

> If you call `.transitionTo` with a thing that "resembles a URL" but also pass more than one string arg, we silently swallow the options

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.