From 39e170dd5f59597bfaec6c821e631bb7df684268 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sun, 24 Jun 2018 12:15:53 -0400 Subject: [PATCH] Add `royal_cypher` to the capital letter allowing whitelist (closes #5109) --- modules/services/taginfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/taginfo.js b/modules/services/taginfo.js index 98adfc97d4..88c0c6c5b6 100644 --- a/modules/services/taginfo.js +++ b/modules/services/taginfo.js @@ -264,7 +264,7 @@ export default { // A few OSM keys expect values to contain uppercase values (see #3377). // This is not an exhaustive list (e.g. `name` also has uppercase values) // but these are the fields where taginfo value lookup is most useful. - var re = /network|taxon|genus|species|brand|grape_variety|booth|rating|:output|_hours|_times/; + var re = /network|taxon|genus|species|brand|grape_variety|royal_cypher|booth|rating|:output|_hours|_times/; var allowUpperCase = (params.key.match(re) !== null); var f = filterValues(allowUpperCase);