[MacPorts] Tickets modified
ryandesign at macports.org
Sat Dec 22 18:55:47 PST 2012
On Dec 21, 2012, at 03:26, Rainer Müller wrote:
> On 2012-12-21 04:08, Ryan Schmidt wrote:
>> On Dec 20, 2012, at 09:26, MacPorts wrote:
>>> +NOTE: There is a bug in Trac that does not pass the '+' sign properly to the query, use a link here instead of `query:` syntax.
>> "+" is a special character in the query portion of URLs and is used to represent a space; this is weird and should probably not be used. If you want a plus, use %2B; if you want a space, use %20.
> Exactly, I want a space there. But I cannot use a real space, as that
> separates the URL from the link title in Trac's wiki syntax. So I tried
> encoding the space with a + sign... I also tried with the URL encoded
> characters %2B, but Trac will to be too smart about that and encodes the
> percent sign, so that becomes %252B.
> I just read through the documentation for Trac again and found the
> solution just now. It's not a real but, but special quoting needs to be
> applied according to the rules for TracLinks (I was only looking at the
> TracQuery documentation yesterday). The correct quoting needs to be
> applied to the whole argument of query. So that is now:
> [query:"keywords~=haspatch maintainer&status!=closed" haspatch+maintainer]
Now the question is: will that find tickets where keywords is "haspatch, maintainer" or "maintainer haspatch"? :/
More information about the macports-dev