Skip to content

fix Routing incorrectly matches documents issue and fix for #63#73

Merged
dtognazzini merged 1 commit intomasterfrom
fixRoutingMatch
Oct 4, 2014
Merged

fix Routing incorrectly matches documents issue and fix for #63#73
dtognazzini merged 1 commit intomasterfrom
fixRoutingMatch

Conversation

@ipmsteven
Copy link
Copy Markdown
Contributor

No description provided.

@ipmsteven ipmsteven force-pushed the fixRoutingMatch branch 6 times, most recently from 7e85eea to 7cba4ea Compare September 30, 2014 16:49
@dtognazzini
Copy link
Copy Markdown
Contributor

This fix is dependent on the order of the parameters to window.change_to and the order of the routes yielded to the internal blocks in recognizes?

Here's a failing test that highlights the parameter order issue. This test needs to pass.

Another test should be written to the order in which routes are yielded.

@dtognazzini
Copy link
Copy Markdown
Contributor

After some more reading and experimentation, I see how these changes address the issue. As we discussed via chat, please add comments documenting the "why" of your changes and add a test case covering all the permutations. Thanks!

@ipmsteven ipmsteven force-pushed the fixRoutingMatch branch 2 times, most recently from 6870b70 to 32b37c1 Compare October 3, 2014 19:08
@ipmsteven ipmsteven changed the title fix Routing incorrectly matches documents issue fix Routing incorrectly matches documents issue and fix for #63 Oct 3, 2014
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment also applies to Rails23#recognizes?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but there is no inner loop here. I added comment.

dtognazzini added a commit that referenced this pull request Oct 4, 2014
fix Routing incorrectly matches documents issue and fix for #63
@dtognazzini dtognazzini merged commit 3779dc8 into master Oct 4, 2014
@dtognazzini dtognazzini deleted the fixRoutingMatch branch October 4, 2014 07:02
@dtognazzini
Copy link
Copy Markdown
Contributor

Addresses issue #63

BadassBison added a commit that referenced this pull request Apr 12, 2026
…VE-2025-30360

Fixes Dependabot alerts #68#73 across test app directories.

Severities: MEDIUM
CVEs: CVE-2025-30359, CVE-2025-30360
Package: webpack-dev-server (devDependency in test/test_apps/*/package.json)
BadassBison added a commit that referenced this pull request Apr 12, 2026
…VE-2025-30360

Fixes Dependabot alerts #68#73 across test app directories.

Severities: MEDIUM
CVEs: CVE-2025-30359, CVE-2025-30360
Package: webpack-dev-server (devDependency in test/test_apps/*/package.json)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants