Skip to content

Commit 8b9d39a

Browse files
authored
Merge pull request #425 from sanaullah/development
lowercase cgi.xxx (returns empty when preservecaseforstructkey) is enabled
2 parents ac07159 + 69177cb commit 8b9d39a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

system/includes/BugReport.cfm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,26 +190,26 @@ A reporting template about exceptions in your ColdBox Apps
190190
</tr>
191191
<tr>
192192
<td align="right" class="info"> Host &amp; Server: </td>
193-
<td >#encodeForHTML( cgi.http_host )# #encodeForHTML( local.thisInetHost )#</td>
193+
<td >#encodeForHTML( CGI.HTTP_HOST )# #encodeForHTML( local.thisInetHost )#</td>
194194
</tr>
195195
<tr>
196196
<td align="right" class="info">Query String: </td>
197-
<td >#encodeForHTML( cgi.QUERY_STRING )#</td>
197+
<td >#encodeForHTML( CGI.QUERY_STRING )#</td>
198198
</tr>
199199

200-
<cfif len(cgi.HTTP_REFERER)>
200+
<cfif len(CGI.HTTP_REFERER)>
201201
<tr>
202202
<td align="right" class="info">Referrer:</td>
203-
<td >#encodeForHTML( cgi.HTTP_REFERER )#</td>
203+
<td >#encodeForHTML( CGI.HTTP_REFERER )#</td>
204204
</tr>
205205
</cfif>
206206
<tr>
207207
<td align="right" class="info">Browser:</td>
208-
<td >#encodeForHTML( cgi.HTTP_USER_AGENT )#</td>
208+
<td >#encodeForHTML( CGI.HTTP_USER_AGENT )#</td>
209209
</tr>
210210
<tr>
211211
<td align="right" class="info"> Remote Address: </td>
212-
<td >#encodeForHTML( cgi.remote_addr )#</td>
212+
<td >#encodeForHTML( CGI.REMOTE_ADDR )#</td>
213213
</tr>
214214

215215
<cfif

0 commit comments

Comments
 (0)