File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
src/main/java/org/primeframework/mvc/action Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 105105 <inspection_tool class =" SizeReplaceableByIsEmpty" enabled =" true" level =" WARNING" enabled_by_default =" true" >
106106 <option name =" ignoredTypes" >
107107 <set >
108+ <option value =" java.lang.String" />
108109 <option value =" java.util.List" />
109110 </set >
110111 </option >
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2001-2023 , Inversoft Inc., All Rights Reserved
2+ * Copyright (c) 2001-2024 , Inversoft Inc., All Rights Reserved
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -147,10 +147,12 @@ public void perform(WorkflowChain chain) throws IOException {
147147
148148 private String determineURI () {
149149 String uri = null ;
150- Set <String > keys = request .getParameters ().keySet ();
151- for (String key : keys ) {
152- if (key .startsWith (DefaultParameterParser .ACTION_PREFIX )) {
153- if (configuration .allowAlternateFormAction ()) {
150+
151+ if (configuration .allowAlternateFormAction ()) {
152+ Set <String > keys = request .getParameters ().keySet ();
153+ for (String key : keys ) {
154+ if (key .startsWith (DefaultParameterParser .ACTION_PREFIX )) {
155+
154156 String actionParameterName = key .substring (4 );
155157 String actionParameterValue = request .getParameter (key );
156158 if (request .getParameter (actionParameterName ) != null && actionParameterValue .trim ().length () > 0 ) {
You can’t perform that action at this time.
0 commit comments