From 08254f5522974d3313a1501b1765db3a781259c8 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Sun, 15 Nov 2015 11:34:30 +0300 Subject: [PATCH] Add .org to a list of incorrect wikipedia article subnames --- generator/osm2meta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/osm2meta.cpp b/generator/osm2meta.cpp index 8a6c3096ce..d53b632f1d 100644 --- a/generator/osm2meta.cpp +++ b/generator/osm2meta.cpp @@ -39,7 +39,7 @@ string MetadataTagProcessor::ValidateAndFormat_wikipedia(string v) const return string(); } // Check if it's not a random/invalid link. - if (v.find("//") != string::npos) + if (v.find("//") != string::npos || v.find(".org") != string::npos) { LOG(LINFO, ("Invalid Wikipedia tag value:", v)); return string();