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

Pasting Whitespace In Address Fields Is Not Stripped Out #538

Open
TheDarkula opened this issue Nov 6, 2024 · 2 comments
Open

Pasting Whitespace In Address Fields Is Not Stripped Out #538

TheDarkula opened this issue Nov 6, 2024 · 2 comments

Comments

@TheDarkula
Copy link

Stemming from this discussion

In a host.v1 config, pasting anything with a trailing whitespace is captured.

As an example, pasting:

"*.fake.com "

will produce this config section:

"allowedAddresses": [
  "*.fake.com "
],
@dovholuknf
Copy link
Member

you pasted this into the json area or did you paste it into a form field? i'd argue both should do the same validation, but when it's json, i could see how it allowed for that. could you just confirm you pasted it into a form field?

@TheDarkula
Copy link
Author

Not json, into the ALLOWED ADDRESSES form field.

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

No branches or pull requests

2 participants