[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [onionoo/master] Partially revert the last commit.
commit efe8f3a1f0f50d931244e6c6ce6beb54799869b6
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Mon Feb 27 19:36:16 2012 +0100
Partially revert the last commit.
Don't require the $ prefix in lookup URLs.
---
src/org/torproject/onionoo/ResourceServlet.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/onionoo/ResourceServlet.java b/src/org/torproject/onionoo/ResourceServlet.java
index 7ccc39d..4da06a2 100644
--- a/src/org/torproject/onionoo/ResourceServlet.java
+++ b/src/org/torproject/onionoo/ResourceServlet.java
@@ -184,7 +184,7 @@ public class ResourceServlet extends HttpServlet {
}
private static Pattern fingerprintParameterPattern =
- Pattern.compile("^\\$[0-9a-zA-Z]{1,40}$");
+ Pattern.compile("^[0-9a-zA-Z]{1,40}$");
private Set<String> parseFingerprintParameters(String parameter) {
if (!fingerprintParameterPattern.matcher(parameter).matches()) {
return null;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits