On Mon, May 19, 2003 at 02:40:23PM -0700, Roubart Capcap wrote:
> Sorry for the confusion. The %20 appears on the search result as shown:
>
> 1. 2002%20Analogy%20Numeric%20Order.pdf -- rank: 1000 last modified: 2003-05-16 13:58:00 PDT
>
> ... CLASS SCIF CLASS MINING MINING MINING MINING MINING
>
> The actual filename is "2002 Analogy Numeric Order.pdf". Yes, if you do it in the command
> line, it also appears.
Ok. looks like the search.tt template uses this to display that:
[% ( item.swishtitle || item.swishdocpath ) %]
but I didn't think item.swishdocpath was escaped any place (item.swishdocpath_href is, though).
But...
> 1. 2002%20Analogy%20Numeric%20Order.pdf -- rank: 1000 last modified: 2003-05-16 13:58:00 PDT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
my template doesn't have the last modified date right after the rank so perhpahs I'm looking
at different code and templates than you have.
The easy fix is:
[% ( item.swishtitle || "untitled document" ) %]
Otherwise, send me *off list* swish.cgi and search.tt and I can take a look.
--
Bill Moseley
moseley@hank.org
Received on Mon May 19 23:18:14 2003