Index: openacs-4/packages/acs-developer-support/www/request-info.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-developer-support/www/request-info.tcl,v
diff -u -N -r1.20 -r1.21
--- openacs-4/packages/acs-developer-support/www/request-info.tcl 14 Jun 2015 00:07:56 -0000 1.20
+++ openacs-4/packages/acs-developer-support/www/request-info.tcl 18 Jun 2015 19:03:33 -0000 1.21
@@ -32,8 +32,8 @@
- Request Start Time: | [clock format [lindex $property(start) 0] \
- -format "%Y-%m-%d %H:%M:%S"]
+ |
---|
Request Start Time: |
+ [clock format [lindex $property(start) 0] -format "%Y-%m-%d %H:%M:%S"]
}]
} else {
set expired_p 1
@@ -92,7 +92,9 @@
}
append body [subst {
- |
---|
$name: | [ad_decode $value "" "(empty)" $value] |
+ $name: |
+ [ad_decode $value "" "(empty)" $value] |
+
}]
}
}
@@ -162,33 +164,48 @@
}
}
if { !$rp_show_debug_p } {
- append body "show RP debugging information"
+ set href "./request-info?[export_ns_set_vars url]&rp_show_debug_p=1"
+ append body [subst {
+
show RP debugging information
+ }]
}
append body "\n"
}
if { [info exists property(comment)] } {
append body "
Comments
\n"
foreach comment $property(comment) {
- append body "- $comment\n"
+ append body "
- [ns_quotehtml $comment]\n"
}
append body "
\n"
}
if { [info exists property(headers)] } {
- append body "Headers
-\n"
+ append body {Headers
+
+ }
foreach { name value } $property(headers) {
- append body "$name: | [ns_quotehtml $value] |
\n"
+ append body [subst {
+
+ $name: |
+ [ns_quotehtml $value] |
+
+ }]
}
append body "
\n"
}
if { [info exists property(oheaders)] } {
- append body "Output Headers
-\n"
+ append body {Output Headers
+
+ }
foreach { name value } $property(oheaders) {
- append body "$name: | [ns_quotehtml $value] |
\n"
+ append body [subst {
+
+ $name: |
+ [ns_quotehtml $value] |
+
+ }]
}
append body "
\n"
}