<commit_before><!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="layout.html" />
  <head>
    <title>${message or 'Error'}</title>
    <script py:if="frames" type="text/javascript">/*<![CDATA[*/
      $(document).ready(function() {
        $("#traceback a").click(function() {
          $("div", this.parentNode).slideToggle("fast");
          return false;
        });
        $("#tbtoggle").click(function() {
          if (this.value.indexOf("interactive") < 0) {
            this.value = "Switch to interactive view";
            $("#traceback ul").fadeOut("fast", function() {
              $("#traceback pre").fadeIn("fast");
            });
          } else {
            this.value = "Switch to plain text view";
            $("#traceback pre").fadeOut("fast", function() {
              $("#traceback ul").fadeIn("fast");
            });
          }
        });
        return false;
      });
    /*]]>*/</script>
  </head>

  <py:def function="create_ticket(teo=False)">
    <input type="hidden" name="preview" value="1" />
    <input type="hidden" name="reporter" value="${get_reporter_id(req)}" />
    <input py:if="teo" type="hidden" name="version"
           value="${'dev' in trac.version and 'devel' or trac.version}" />
    <input type="hidden" name="summary" value="$message" />
    <textarea name="description">
Please edit the pre-filled description as you see fit
(in particular, remove those first two lines!)

==== How to Reproduce ====

While doing a $req.method operation on `$req.path_info`, Trac issued an internal error.
<py:if test="req.args">
Request parameters:
{{{
${pprint(req.args)}
}}}<commit_msg>Follow-up to r4636, some fine tuning ...<commit_after><!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="layout.html" />
  <head>
    <title>${message or 'Error'}</title>
    <script py:if="frames" type="text/javascript">/*<![CDATA[*/
      $(document).ready(function() {
        $("#traceback a").click(function() {
          $("div", this.parentNode).slideToggle("fast");
          return false;
        });
        $("#tbtoggle").click(function() {
          if (this.value.indexOf("interactive") < 0) {
            this.value = "Switch to interactive view";
            $("#traceback ul").fadeOut("fast", function() {
              $("#traceback pre").fadeIn("fast");
            });
          } else {
            this.value = "Switch to plain text view";
            $("#traceback pre").fadeOut("fast", function() {
              $("#traceback ul").fadeIn("fast");
            });
          }
        });
        return false;
      });
    /*]]>*/</script>
  </head>

  <py:def function="create_ticket(teo=False)">
    <input type="hidden" name="preview" value="1" />
    <input type="hidden" name="reporter" value="${get_reporter_id(req)}" />
    <input py:if="teo" type="hidden" name="version"
           value="${'dev' in trac.version and 'devel' or trac.version}" />
    <input type="hidden" name="summary" value="$message" />
    <textarea name="description">
==== How to Reproduce ====

While doing a $req.method operation on `$req.path_info`, Trac issued an internal error.

''(please provide additional details here)''

<py:if test="req.args">
Request parameters:
{{{
${pprint(req.args)}
}}}
{'fraction_non_alphanumeric': 0.2021680216802168, 'fraction_numerical': 0.01084010840108401, 'mean_word_length': 2.7510162601626016, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2090280', 'n_tokens_mistral': 1212, 'n_tokens_neox': 1158, 'n_words': 237}