Thanks for building this repo!
Currently this line splits the db lines using line.split('\t'): https://github.com/andersinno/python-database-sanitizer/blob/master/database_sanitizer/dump/postgres.py#L126. The issue I'm encountering is that I have columns with user input that sometimes includes tabs. When the sanitizer encounters one of those fields it raises the ValueError.
Currently I've just added return line to skip any lines with tabs - but would be happy to write a PR if anyone has ideas on a graceful way to handle this!
Thanks for building this repo!
Currently this line splits the db lines using
line.split('\t'): https://github.com/andersinno/python-database-sanitizer/blob/master/database_sanitizer/dump/postgres.py#L126. The issue I'm encountering is that I have columns with user input that sometimes includes tabs. When the sanitizer encounters one of those fields it raises the ValueError.Currently I've just added
return lineto skip any lines with tabs - but would be happy to write a PR if anyone has ideas on a graceful way to handle this!