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

URL encoding spaces as + or %20 #902

Open
kmcgaire opened this issue Jun 8, 2017 · 1 comment
Open

URL encoding spaces as + or %20 #902

kmcgaire opened this issue Jun 8, 2017 · 1 comment

Comments

@kmcgaire
Copy link

kmcgaire commented Jun 8, 2017

Configuration

  • Provider Gem: omniauth-1.6
  • Ruby Version: 2.3
  • Framework: Rails 5.0
  • Platform: Mac OS

This is more a question. If our scopes look something like scope: "write_discounts read_customers"

Is there a way to have it URL encode this as "write_discounts%20read_customers" instead of "write_discounts+read_customers"

The API we are working with doesn't seem to accept + delimited scopes and only %20

@dsolis5323
Copy link

Same error here, can't pass a space in params, it converts to + and %20 converts to %2520

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

No branches or pull requests

2 participants