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

Strip leading/trailing whitespace from CSV import #856

Closed
jeremystretch opened this issue Jan 30, 2017 · 2 comments
Closed

Strip leading/trailing whitespace from CSV import #856

jeremystretch opened this issue Jan 30, 2017 · 2 comments
Labels
type: feature Introduction of new functionality to the application

Comments

@jeremystretch
Copy link
Member

Example: Attempting to import secrets to devices with whitespace on each line before the name will yield an error complaining that the devices cannot be found. We should strip leading and trailing whitespace from each line to avoid this.

@jeremystretch jeremystretch added the type: feature Introduction of new functionality to the application label Jan 30, 2017
@candlerb
Copy link
Contributor

Or even from each field?

@jeremystretch
Copy link
Member Author

@candlerb Probably. The only exception might be free-form comment fields, since technically a user might want to lead with whitespace for indentation.

lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants