[Xapian-tickets] [Xapian] #550: Omega script enhancement: $prettyurl
Xapian
nobody at xapian.org
Fri Dec 9 14:16:54 GMT 2011
#550: Omega script enhancement: $prettyurl
-------------------------+--------------------------------------------------
Reporter: catkin | Owner: olly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.3.0
Component: Omega | Version:
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
-------------------------+--------------------------------------------------
Changes (by olly):
* status: new => assigned
Comment:
OK, r16161 on trunk adds an initial implementation of $prettyurl, along
with a few unit tests of the function which does all the work, and alters
the templates to use it where appropriate.
Currently it preserves anything < 0x20 or >= 0x7f or in this list:
:/?#[]@!$&'()*+,;=%
The list is what the current RFC says are reserved, but I'm pretty sure
that in practice these don't all actually need escaping, and since our
primary aim here is appearance and wanting the URL to still work if cut
and pasted is secondary, we should check how these actually work unescaped
in practice. At least some will be context dependent, which makes this
quite complicated to get right.
--
Ticket URL: <http://trac.xapian.org/ticket/550#comment:3>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list