Skip to content

Conversation

@niclas-ahden
Copy link
Contributor

@niclas-ahden niclas-ahden commented Apr 4, 2025

Query parameters should generally be percent-encoded but it's not required. Google's OAuth doesn't percent-encode their redirect URIs which prompted this PR.

Do we want expect in the modules like this? It makes sense to me as both tests and documentation for curious users, but let me know if you'd prefer something else.

If this gets merged I'll follow-up with an equivalent basic-cli PR.

Query parameters should generally be percent-encoded but it's not
required. Google's OAuth doesn't percent-encode their redirect URIs
which prompted this PR.
@Anton-4
Copy link
Collaborator

Anton-4 commented Apr 4, 2025

Do we want expect in the modules like this?

Yes, that's the way to do it :)

@Anton-4 Anton-4 merged commit 0a9b7ea into roc-lang:main Apr 4, 2025
7 checks passed
niclas-ahden added a commit to niclas-ahden/basic-cli that referenced this pull request Apr 4, 2025
Align with `basic-webserver`: roc-lang/basic-webserver#115

Query parameters should generally be percent-encoded but it's not
required. Google's OAuth doesn't percent-encode their redirect URIs
which prompted this PR.
Anton-4 pushed a commit to roc-lang/basic-cli that referenced this pull request Apr 5, 2025
Align with `basic-webserver`: roc-lang/basic-webserver#115

Query parameters should generally be percent-encoded but it's not
required. Google's OAuth doesn't percent-encode their redirect URIs
which prompted this PR.
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.

2 participants