Closed mbackermann closed 2 years ago
by the way, this test is failing on master branch as well
Thank you for proposing this change!
by the way, this test is failing on master branch as well
The CI execution for the most recent PR merged into main
(https://github.com/thoughtbot/ember-cli-rails/pull/592) passed. In that time, there haven't been any PRs opened, and no other commits have been merged.
Do you have a sense of what might be at the root of the test failures?
No problem ;)
Thank you for proposing this change!
by the way, this test is failing on master branch as well
The CI execution for the most recent PR merged into
main
(#592) passed. In that time, there haven't been any PRs opened, and no other commits have been merged.Do you have a sense of what might be at the root of the test failures?
I investigated it a little bit yesterday, but I couldn't find the root cause. I tested with different ruby versions, but I got the problem on all of them. Before working on the fix, I ran bin/rake
and the test was already failing. It's weird because the first thing I checked was the last commit and I could see that it passed all tests.
I will invest more time today to try to find it.
I found the issue. It's on the version of https://github.com/ember-cli/ember-new-output.git. I ran the tests using version 4.0, which was the version used on the last commit here and the test passed
Thank you!
Fixes the bug when redirecting with a trailing slash with query parameters resulting in an invalid URL eg:
https://app.com?query=foo
would redirect tohttps://app.com?query=foo/
, which is invalidThis PR fixes this issue adding the trailing slash before the query parameters eg:
https://app.com?query=foo
would be redirected tohttps://app.com/?query=foo