Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange behavior when accessing an Angular app by its full URL #323

Closed
jendib opened this issue Aug 15, 2013 · 4 comments
Closed

Strange behavior when accessing an Angular app by its full URL #323

jendib opened this issue Aug 15, 2013 · 4 comments
Assignees
Labels

Comments

@jendib
Copy link
Contributor

jendib commented Aug 15, 2013

I've encountered an odd behavior when I try to access my Angular app with its full URL (with index.html).

Here is a Plunker to explain:
http://plnkr.co/edit/mbPBX7VFZBuyn0QZwDbc

To see what I am talking about, open the result in a separate window, and append /index.html like:
http://run.plnkr.co/[internal_id]/index.html

You'll see that the URL is changing to:
http://run.plnkr.co/[internal_id]/index.html#/index.html

Have I done something wrong?

Thank you for this awesome Angular module.

@ghost ghost assigned nateabele Aug 15, 2013
@timkindberg
Copy link
Contributor

Seems like a bug that was created when we are prepending the "#" character to urls when Html5Mode is disabled.

@jendib
Copy link
Contributor Author

jendib commented Aug 15, 2013

I've tested with the master branch version, and the bug is always present.

@kanwei
Copy link

kanwei commented Aug 15, 2013

It's a bug in angular angular/angular.js#2833

@jendib
Copy link
Contributor Author

jendib commented Aug 15, 2013

Your comment angular/angular.js#2833 (comment) seems to fix the issue indeed. I'll watch the angular.js issue, and I close this one to keep things clean. Thank you

@jendib jendib closed this as completed Aug 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants