SQLite Forum

Bug in search field of SQLite's web site
Login
Hi,
the following query:

    https://sqlite.org/search?s=d&q=testing%5C

results in:

    Wapp Application Error
    
    missing close-brace
        invoked from within
    "subst -novar -noback $s"
        (procedure "wappInt-enc-qp" line 3)
        invoked from within
    "wappInt-enc-qp "$q""
        invoked from within
    "subst -novariables {<a style="[wappInt-enc-html "$style"]"
    href="search?q=[wappInt-enc-qp "$q"]&i=[wappInt-enc-qp "$i"]">[wappInt-enc-html "[expr $i+1..."
        ("uplevel" body line 1)
        invoked from within
    "uplevel 1 [list subst -novariables $txt]"
        (procedure "wapp-trim" line 5)
        invoked from within
    "wapp-trim {
            <a style="%html($style)"
               href="search?q=%qp($q)&i=%qp($i)">%html([expr $i+1])</a>
          }"
        (procedure "searchresults" line 134)
        invoked from within
    "$cmd"
        ("uplevel" body line 1)
        invoked from within
    "uplevel {$cmd}"
        invoked from within
    "time [list uplevel $script]"
        (procedure "ttime" line 2)
        invoked from within
    "ttime {$cmd}"
        invoked from within
    "db transaction {
        set t [ttime {$cmd}]
      }"
        (procedure "wapp-default" line 46)
        invoked from within
    "wapp-default"

You may want to fix that!

Life.