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

🧠 Logic: 🔗 implement uri_encoded/3 #355

Merged
merged 7 commits into from
May 12, 2023
Merged

🧠 Logic: 🔗 implement uri_encoded/3 #355

merged 7 commits into from
May 12, 2023

Conversation

bdeneux
Copy link
Contributor

@bdeneux bdeneux commented May 5, 2023

This PR implement #352.

Implementation has been more complicated than expected since RFC 3986 is not followed same on SWI-Prolog and Golang net/url implementation.

I took the initiative to exactly follow the behavior of SWI-Prolog, which involved rewriting the escaping implementation. See in code comment for more explanation : https://github.com/okp4/okp4d/pull/355/files#diff-ee2d93b65d420c2dc3609a71543f8a871b44d84ea108dd36580a016d97676abdR38

@bdeneux bdeneux self-assigned this May 5, 2023
@bdeneux bdeneux linked an issue May 5, 2023 that may be closed by this pull request
3 tasks
@bdeneux bdeneux requested review from amimart and ccamel May 5, 2023 14:37
@bdeneux bdeneux marked this pull request as ready for review May 5, 2023 15:15
Copy link
Member

@amimart amimart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok that's a nice piece, well done 💪

Copy link
Member

@ccamel ccamel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks 👍

@bdeneux bdeneux merged commit f7b9d5d into main May 12, 2023
@bdeneux bdeneux deleted the feat/uri_encoded branch May 12, 2023 11:53
@bot-anik
Copy link
Member

🎉 This PR is included in version 5.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🧠 Logic: 🔗 string encoding of URI components uri_encoded/3
4 participants