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

Patch that makes your application readable to crawlers if you have '!' ... #10

Merged
merged 1 commit into from
Oct 30, 2013

Conversation

BeOleg
Copy link
Contributor

@BeOleg BeOleg commented Oct 20, 2013

Hi, I had an issue with FB graph API and other crawlers.
It seems that the crawlers encode the URL if there is a '!' sign in your application URL, which stops your library from working correctly.

I've added decodeURIComponent function at line 51 of the angular-seo-server.js file, which prevents this behavior from happening, and doesn't affect anything else.

I've run your tests, and also did some manual testing with my applicantion and everything seems fine.

I hope that you'll be able to receive this modest contribution

@leostera
Copy link

👍

@BeOleg
Copy link
Contributor Author

BeOleg commented Oct 30, 2013

Thanks Leonardo, I heard from some other folks from around here that this small patch has helped them, I hope that steeve finds the time to merge it into master.

@steeve
Copy link
Owner

steeve commented Oct 30, 2013

Hey Oleg!
Thanks for the PR. And sorry if I didn't get to reply to it earlier, I'm kind of busy with other stuff (you know, the usual).

Anyway, it's going in :)

steeve added a commit that referenced this pull request Oct 30, 2013
Patch that makes your application readable to crawlers if you  have '!' ...
@steeve steeve merged commit 33e3b9b into steeve:master Oct 30, 2013
@steeve
Copy link
Owner

steeve commented Oct 30, 2013

Merged, thank you very much :)

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.

3 participants