#3373: TracLink 'query:' leads to a Trac IndexError
---------------------------------+------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  mgood   
     Type:  defect               |       Status:  assigned
 Priority:  normal               |    Milestone:  0.10    
Component:  wiki                 |      Version:  devel   
 Severity:  normal               |   Resolution:          
 Keywords:                       |  
---------------------------------+------------------------------------------
Changes (by mgood):

  * owner:  jonas => mgood
  * status:  new => assigned

Comment:

 Actually the behavior is slightly different when the query link is
 prefixed with a "?" since it assumes that the query URL parameters are
 included verbatim.  When it's omitted the query is parsed for proper
 syntax.

 However, this is one of the reasons `.startswith()` should be used instead
 of string indexing.

-- 
Ticket URL: <http://trac.edgewall.org/ticket/3373>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to