From faa98d7af13df21fbcb2fd5c633867b57707edeb Mon Sep 17 00:00:00 2001 From: mygreen Date: Tue, 24 Oct 2023 19:58:19 +0900 Subject: [PATCH] Update core/src/main/java/org/apache/struts2/url/StrutsUrlDecoder.java Co-authored-by: Sebastian Peters --- core/src/main/java/org/apache/struts2/url/StrutsUrlDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/struts2/url/StrutsUrlDecoder.java b/core/src/main/java/org/apache/struts2/url/StrutsUrlDecoder.java index 0ad4604c96..656a2b85fa 100644 --- a/core/src/main/java/org/apache/struts2/url/StrutsUrlDecoder.java +++ b/core/src/main/java/org/apache/struts2/url/StrutsUrlDecoder.java @@ -110,7 +110,7 @@ private byte convertHexDigit(byte b) { } private Charset getCharset(String encoding) throws UnsupportedEncodingException { - for (Charset charset : AVAILAVLE_CHARSETS) { + for (Charset charset : AVAILABLE_CHARSETS) { if (encoding.equalsIgnoreCase(charset.name())) { return charset; }