Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium
New issue 1491 by [email protected]: Handling null byte within string
http://code.google.com/p/robotframework/issues/detail?id=1491
When attempting to use
Evaluate """${string}""".split("\\n")
on a string containing null bytes ('\x00'). RF throws an error:
.split("\n")' failed: TypeError: expected string without null bytes
This issue will not occur if I run the same line in the python interpreter.
I would like to suggest adding the following method to String.py (RF's
String Library):
def remove_null_bytes(inString):
string = inString.replace('\x00','')
return string
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.