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

Reject messages with nonnormalize protocol URIs #317

Merged
merged 5 commits into from
Apr 24, 2023

Conversation

diehuxx
Copy link

@diehuxx diehuxx commented Apr 24, 2023

Addresses part of #265
Revises a previous attempt #314

Changes

To ensure that protocols URIs are bucketed intuitively,

  1. #create methods auto-normalize protocols for an ergonomic developer experience
  2. non-normalized protocols are rejected from DWNs

TODO

Going to add a little more test coverage in the morning to bring relevant files back up to 100%

@diehuxx diehuxx force-pushed the diehuxx/required-normalized-protocol branch from 32b6965 to 3a44c7e Compare April 24, 2023 08:12
thehenrytsai
thehenrytsai previously approved these changes Apr 24, 2023
Copy link
Contributor

@thehenrytsai thehenrytsai left a comment

Choose a reason for hiding this comment

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

🙏

@diehuxx diehuxx merged commit cd96f50 into main Apr 24, 2023
@diehuxx diehuxx deleted the diehuxx/required-normalized-protocol branch June 23, 2023 23:39
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