Skip to content

fix(config): reject malformed domain labels#51

Open
aiirvizionz wants to merge 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/reject-edge-dot-domains
Open

fix(config): reject malformed domain labels#51
aiirvizionz wants to merge 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/reject-edge-dot-domains

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • reject tenant domains that start or end with a dot
  • reject labels that start or end with a hyphen
  • add focused safeDomain coverage for normal forwarded URLs and malformed label edges

Tests

  • node --test tests*.mjs

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.

1 participant