From 29fd9f03ed2179c5eddbfa7899768e8eae10ca3f Mon Sep 17 00:00:00 2001
From: ulrich
Date: Sun, 25 Feb 2024 13:26:06 +0000
Subject: [PATCH] toLowerCase hinzugefuegt

---
 src/de/uhilger/neon/image/ImageFilter.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/de/uhilger/neon/image/ImageFilter.java b/src/de/uhilger/neon/image/ImageFilter.java
index c1b3f29..805dc79 100644
--- a/src/de/uhilger/neon/image/ImageFilter.java
+++ b/src/de/uhilger/neon/image/ImageFilter.java
@@ -68,7 +68,7 @@
     String pattern = (String) exchange.getHttpContext().getAttributes()
             .getOrDefault("imageFilterPattern", ".+\\.jpg|.+\\.jpeg|.+\\.png");
     String uriStr = exchange.getRequestURI().toString();
-    if(uriStr.matches(pattern)) {
+    if(uriStr.toLowerCase().matches(pattern)) {
       String fileBase = (String) exchange.getHttpContext().getAttributes()
               .get(FileServer.ATTR_FILE_BASE);
       String fileName = exchange

--
Gitblit v1.9.3