-
Notifications
You must be signed in to change notification settings - Fork 16
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
Conflicting % symbol in string with error_rule function of rules.py #34
Comments
It happens when roswtf checks IP address. The IPv6 uses a zone index to provide routing information. The zone index is appended to the address, separated by '%'. This notation causes syntax conflict with Python when roswtf deals with it. In case of URI, they are finding solution to avoid syntax conflict like here: http://tools.ietf.org/html/draft-fenner-literal-zone-02 I think there are two ways to resolve it; (1) Avoid substitution by dictionary in rules.py when checking local network configuration, because this substitution by dictionary doesn't affect results. |
That document isn't english! I don't understand a thing... I think I like 2) better. It's common in python and cmake to convert unconvential windows characters (like slashes) to unix equivalents. Does it actually break anything else by converting to |
Strange.. I can see english from that link. Since only roswtf refers roswtf\network.py, I think it will not make trouble to others although % is converted to / in roswtf\network.py. |
Yeah, it's english, but its lawyer speak. Illegible! |
Just for the record, examples of the differing formats are like:
|
% symbol in string causes error in error_rule function of rules.py.
The text was updated successfully, but these errors were encountered: