[tor-commits] [metrics-web/master] Fix graphs for Myanmar/Burma.

karsten at torproject.org karsten at torproject.org
Mon Jul 10 08:34:53 UTC 2017


commit 938a4817bc808c7de21f55ba9d6d524316b708c3
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Jul 10 10:31:53 2017 +0200

    Fix graphs for Myanmar/Burma.
    
    Turns out we had two entries for "Burma" in the country list since we
    fixed #4809. This led us to create image links containing two country
    paramaters in the website which we didn't accept ourselves. The fix is
    simply to throw out one entry.
    
    Found by dcf. Fixes #22859.
---
 website/src/main/java/org/torproject/metrics/web/graphs/Countries.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/website/src/main/java/org/torproject/metrics/web/graphs/Countries.java b/website/src/main/java/org/torproject/metrics/web/graphs/Countries.java
index c10af45..b153940 100644
--- a/website/src/main/java/org/torproject/metrics/web/graphs/Countries.java
+++ b/website/src/main/java/org/torproject/metrics/web/graphs/Countries.java
@@ -179,7 +179,6 @@ public class Countries {
     this.knownCountries.add("ms;Montserrat".split(";"));
     this.knownCountries.add("ma;Morocco".split(";"));
     this.knownCountries.add("mz;Mozambique".split(";"));
-    this.knownCountries.add("mm;Burma".split(";"));
     this.knownCountries.add("na;Namibia".split(";"));
     this.knownCountries.add("nr;Nauru".split(";"));
     this.knownCountries.add("np;Nepal".split(";"));



More information about the tor-commits mailing list