[Xapian-tickets] [Xapian] #550: Omega script enhancement: $prettyurl

Xapian nobody at xapian.org
Thu Jun 12 02:23:07 BST 2014


#550: Omega script enhancement: $prettyurl
-------------------------+-----------------------------
 Reporter:  catkin       |             Owner:  olly
     Type:  enhancement  |            Status:  assigned
 Priority:  normal       |         Milestone:  1.3.3
Component:  Omega        |           Version:
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+-----------------------------
\
\
\
\
\
\

Comment (by olly):

 I've set up a testcase for the other characters:

 http://survex.com/~olly/550/

 I've realised {{{:}}} is definitely not safe in general, as
 {{{http:bad.html}}} should get parsed as scheme {{{http:}}}.  Experiments
 bear that out.  Some cases (link a link to {{{:.html}}}) works in most
 browsers (but not all).  It seems to be safe if there's an explicit
 scheme, which wouldn't be too hard to check, but I think this probably
 isn't worth context sensitive handling.

 And {{{%}}} not followed by a valid pair of hex digits is rejected by
 Apache, and MSIE doesn't even allow clicking on it.

 So the apparently-OK-in-practice list is: {{{[]@!$&'()*+,;=}}}.

 I've tested (or had tested) the cases on the page above with recent
 versions of iceweasel/firefox, chromium, w3m, lynx, links, and MSIE.
 Results for other browsers and for older versions welcome.
\
\
\

--
Ticket URL: <http://trac.xapian.org/ticket/550#comment:8>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list