Skip to content

Commit 049d481

Browse files
committed
need to keep the isNull check in case that's the result from the header
1 parent 8444d8e commit 049d481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/api.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@
760760
<cfset requestObj.verb = cgi.request_method />
761761

762762
<!--- Should we override the actual method based on method tunnelling? --->
763-
<cfif isDefined("httpMethodOverride") AND not httpMethodOverride eq "null">
763+
<cfif isDefined("httpMethodOverride") AND not isNull(httpMethodOverride) AND not httpMethodOverride eq "null">
764764
<cfset requestObj.verb = httpMethodOverride />
765765
</cfif>
766766

0 commit comments

Comments
 (0)