[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #4174 [EFF-HTTPS Everywhere]: trivial_validate script does not work on OS X
#4174: trivial_validate script does not work on OS X
----------------------------------+-----------------------------------------
Reporter: dtauerbach | Owner: pde
Type: defect | Status: new
Priority: minor | Milestone:
Component: EFF-HTTPS Everywhere | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------------------+-----------------------------------------
When trying to run makexpi.sh on my OS X machine, trivial_validate fails.
Here is the output:
"""
bash-3.2$ ./makexpi.sh
-- Rules not anchored to beginning of a line:
(None.)
-- Rules with unescaped dots outside of brackets and left of a slash:
(None.)
-- Rules with backslashes in to pattern:
(None.)
-- Rules not containing trailing slash in from pattern:
(None.)
-- Rules not containing trailing slash in to pattern:
(None.)
-- Rules with missing closing slash in rule XML tag:
(None.)
-- Rules with multiple wildcards in a single target rule:
(None.)
-- Rules with targets containing URLs/paths instead of hostnames:
(None.)
-- Rules redirecting to http in to pattern:
(None.)
-- Rules containing space before to pattern:
(None.)
-- Rules with syntactically invalid regular expressions:
BYU.xml
HSBC.xml
University-of-North-Texas.xml
-- Rules with syntatically invalid XML:
(None.)
-- Rules containing non-ASCII characters (possible homoglyph attacks):
(None.)
--- Rules that lack at least one valid <target> tag:
(None.)
--- Duplicated ruleset names:
(None.)
--- Duplicated target hosts:
*.facebook.com
*.google.com
facebook.com
google.*
google.co.*
google.com
google.com.*
www.google.*
www.google.co.*
www.google.com
www.google.com.*
(not exiting)
ERROR: Validation of rulesets failed.
"""
I understand this works on Linux, and might relate to different bash
semantics. It seems using trivial_validate.py would fix this problem.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4174>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs