From 272f35e7ce2e4173fd261202cd9741ed3ce1c1ab Mon Sep 17 00:00:00 2001 From: akrherz Date: Tue, 28 Jan 2025 12:16:11 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Sundry=20updates=20per=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/COOP/current.phtml | 3 +++ htdocs/COOP/extremes.php | 12 +++++------- htdocs/COOP/index.phtml | 4 ++-- htdocs/COOP/periods.phtml | 4 ++-- htdocs/COOP/snowd_duration.phtml | 10 +++++----- htdocs/GIS/apps/agclimate/month.php | 12 +++++++----- htdocs/RWIS/currentSF.phtml | 3 +++ pylib/iemweb/autoplot/scripts/p49.py | 6 ++---- pylib/iemweb/autoplot/scripts/p50.py | 23 +++++++++++++---------- pylib/iemweb/autoplot/scripts/p51.py | 2 +- pylib/iemweb/autoplot/scripts100/p134.py | 8 +++----- scripts/prism/grid_climate_prism.py | 9 +++++---- tests/iemweb/autoplot/urllist.txt | 2 ++ 13 files changed, 53 insertions(+), 45 deletions(-) diff --git a/htdocs/COOP/current.phtml b/htdocs/COOP/current.phtml index d029291b61..8130d62880 100644 --- a/htdocs/COOP/current.phtml +++ b/htdocs/COOP/current.phtml @@ -154,6 +154,9 @@ $cols = array( "snowd" => "Snowfall Depth", "pday" => "24 hour rainfall", "phour" => "Rainfall One Hour", "snoww" => "Snow Water Equivalent" ); +if (!array_key_exists($sortcol, $cols)) { + xssafe(""); +} $t->current_network = "COOP"; $nselect = '