Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdan committed Nov 19, 2024
1 parent 890ba37 commit e49d4d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions prime-mvc.ipr
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
<inspection_tool class="SizeReplaceableByIsEmpty" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredTypes">
<set>
<option value="java.lang.String" />
<option value="java.util.List" />
</set>
</option>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001-2023, Inversoft Inc., All Rights Reserved
* Copyright (c) 2001-2024, Inversoft Inc., All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -147,10 +147,12 @@ public void perform(WorkflowChain chain) throws IOException {

private String determineURI() {
String uri = null;
Set<String> keys = request.getParameters().keySet();
for (String key : keys) {
if (key.startsWith(DefaultParameterParser.ACTION_PREFIX)) {
if (configuration.allowAlternateFormAction()) {

if (configuration.allowAlternateFormAction()) {
Set<String> keys = request.getParameters().keySet();
for (String key : keys) {
if (key.startsWith(DefaultParameterParser.ACTION_PREFIX)) {

String actionParameterName = key.substring(4);
String actionParameterValue = request.getParameter(key);
if (request.getParameter(actionParameterName) != null && actionParameterValue.trim().length() > 0) {
Expand Down

0 comments on commit e49d4d7

Please sign in to comment.