Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Issue #4680 #4862

Closed
wants to merge 4 commits into from
Closed

Issue #4680 #4862

wants to merge 4 commits into from

Conversation

sebastienroul
Copy link
Contributor

fix(location,route): Breaks with file:// protocol in Chrome

FF and IE implementations considere the drive letter as "host" and remove it from pathname
CHROME implementation let it as part of the pathname
We should remove the drive letter from the pathname to let routing work.

Closes #4680

@petebacondarwin
Copy link
Contributor

@sebastienroul - can you ensure that you have signed the CLA? Thanks.
Also you would improve the chances of getting your PR merged quickly if you read and follow the contribution guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md

@sebastienroul
Copy link
Contributor Author

@petebacondarwin : Signed yesterday... Waiting for response :)

@jeffbcross
Copy link
Contributor

Hi @sebastienroul , would you mind changing your commit messages and PR description to be consistent with our git commit guidelines? https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#git-commit-guidelines

We use commit messages to auto-generate changelogs.

It'd also be helpful if you could write a failing unit test (which passes with your implementation).

@sebastienroul
Copy link
Contributor Author

Hi @jeffbcross : OK for the commit message : I've update it. Should I do this for all my commit messages or only for the first of the pull ?
2 another questions (sorry, just born yesterday :) ):

In all thanks for your patience !

@ghost ghost assigned jeffbcross Nov 11, 2013
@caitp
Copy link
Contributor

caitp commented Nov 11, 2013

@sebastienroul you can squash these commits and correct your commit message according to the contributing guide with a rebase.

This travis failure isn't a big deal, you can trigger a rebuild by re-pushing to github.

As for writing tests, any change is going to need at least one test case to assist in preventing future regressions. I'm happy to assist in writing tests, or reviewing the tests you write, to ensure that they're as meaningful as possible, and prevent them from breaking as much as possible. Happy to help with this, but to start with you should write a test which verifies that your own particular use case is served.

@jeffbcross
Copy link
Contributor

No worries ;)

  1. All commit messages should follow the format in the guidelines
  2. Don't worry about Travis; it's flaky right now
  3. Don't sweat the test; I can write one and amend it to the commit

@jeffbcross
Copy link
Contributor

Ahh yes, what @caitp said... a squash of commits would be helpful.

@jeffbcross
Copy link
Contributor

@sebastienroul I'm reviewing this PR now, and I'll go ahead and squash the commits and change the message.

@sebastienroul
Copy link
Contributor Author

Thanks for all ! continuous improvement :)
Ask me if any question on the problem itself.

@jeffbcross
Copy link
Contributor

@sebastienroul, I amended a test and some implementation changes to your commit, and re-opened it under this PR: #4928

@jeffbcross jeffbcross closed this Nov 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ngRoute breaks with file:// protocol in 1.2.0-rc.3
4 participants