Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-directcontrolservlet
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0c9488ab
authored
2014-04-24 12:34:12 -0500
by
Jerry Pommer
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Issue #2757 - Workaround to make GETs work under Node.
1 parent
6235725a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
src/com/brainfood/ofbiz/DirectControlServlet.java
src/com/brainfood/ofbiz/DirectControlServlet.java
View file @
0c9488a
...
...
@@ -119,7 +119,6 @@ public class DirectControlServlet extends HttpServlet {
Debug
.
logInfo
(
"PARAMETERS: "
+
paramList
,
module
);
// Handle if this is a form post
String
contentType
=
request
.
getContentType
();
if
(
contentType
!=
null
&&
contentType
.
indexOf
(
"x-www-form-urlencoded"
)
!=
-
1
)
{
method
=
request
.
getParameter
(
"_method"
);
String
httpMethod
=
request
.
getMethod
();
if
(
method
==
null
&&
httpMethod
!=
null
)
method
=
httpMethod
;
...
...
@@ -146,9 +145,6 @@ public class DirectControlServlet extends HttpServlet {
}
}
}
}
else
{
Debug
.
logInfo
(
"Unsupported form encoding"
,
module
);
}
// If there is a mapping for this pathInfo, run the corresponding service
// otherwise, return an error
...
...
Please
register
or
sign in
to post a comment