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

Leading and trailing whitespace of target input not removed #75

Closed
chriselsen opened this issue Sep 13, 2020 · 1 comment
Closed

Leading and trailing whitespace of target input not removed #75

chriselsen opened this issue Sep 13, 2020 · 1 comment
Assignees
Labels
possible-bug Something isn't working

Comments

@chriselsen
Copy link

Leading and trailing whitespace of target input not removed

Bug Description

For the free text input of the "target" input field, trailing or leading whitespace is not removed. This leads to error messages in subsequent steps.

Expected behavior

Remove any trailing or leading whitespace of the target input

Steps to Reproduce

Enter the target input with a trailing (e.g. "8.8.8.8 ") or leading ( e.g. " 8.8.8.8") whitespace and select a corresponding query type.

Local Configurations

N/A

Logs

N/A

Possible Solution

Use the https://docs.python.org/3/library/stdtypes.html#str.strip function to remove trailing and leading whitespace of the target input field.

Environment

Server

N/A

Client

N/A

Smartphone Details (if applicable)

N/A

@chriselsen chriselsen added the possible-bug Something isn't working label Sep 13, 2020
@thatmattlove
Copy link
Owner

Thanks for finding this - it will be fixed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants