[tor-commits] [torspec/master] patch from atagar: disallow "13." as a number

nickm at torproject.org nickm at torproject.org
Thu Feb 7 17:23:00 UTC 2013


commit 546d115f65ea850e67a5eba2d3660362bee29bd4
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Feb 7 12:22:57 2013 -0500

    patch from atagar: disallow "13." as a number
---
 dir-spec.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dir-spec.txt b/dir-spec.txt
index 6e14a33..e3813dc 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -1200,7 +1200,7 @@
             Thresholds = Threshold | Threshold SP Thresholds
             Threshold = ThresholdKey '=' ThresholdVal
             ThresholdKey = (KeywordChar | "_") +
-            ThresholdVal = [0-9]+("."[0-9]*)? "%"?
+            ThresholdVal = [0-9]+("."[0-9]+)? "%"?
 
          Commonly used Thresholds at this point include:
 



More information about the tor-commits mailing list