diff --git a/checkin_notes b/checkin_notes index 8fdd68bdcc..a3fe448916 100755 --- a/checkin_notes +++ b/checkin_notes @@ -5437,3 +5437,10 @@ Bruce 3 June 2006 handle_request.C transitioner.C +Bruce 4 June 2006 + - HTML ops page: properly display queries containing '<' and '>'. + + html/ + ops/ + db_action.php + diff --git a/html/ops/db_action.php b/html/ops/db_action.php index 1ed1b6d6c6..657be27fc6 100644 --- a/html/ops/db_action.php +++ b/html/ops/db_action.php @@ -39,7 +39,12 @@ $last = $start_at + $entries_to_show; $main_query = $q->get_select_query($entries_to_show, $start_at); -echo "
Query: $main_query
\n"; +// For display, convert query string characters < and > into 'html form' so +// that they will be displayed. +// +$html_text=str_replace('<', '<', str_replace('>', '>', $main_query)); + +echo "
Query: $html_text
\n"; $start_1_offset = $start_at + 1; echo "