-
Notifications
You must be signed in to change notification settings - Fork 964
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
Domain observable with underscore is incorrectly rejected #7620
Comments
RFCs forbid use of underscore in domain names BUT some registrars allow it in subdomains. |
I reopened this issue as I get some ingestion error when trying to create domain observable with value: "test._mysubdomain.mydomain.com" |
@romain-filigran It's because you put the dot before the underscore. Do we want it possible ? If yes I can of course modify the regex to accept a dot followed by an underscore |
Reopening: This feature has been reverted du to performance issues, we need to add a test coverage on regeprx performance issue. |
Description
This regex does not accept underscores in domains, but underscores are permitted in domains.
opencti/opencti-platform/opencti-graphql/src/utils/syntax.js
Line 138 in 542b5cd
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
example_domain.godaddysites.com
Expected Output
An observable is created
Actual Output
An error occurs
Additional information
Screenshots (optional)
The text was updated successfully, but these errors were encountered: