Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

TicketQuery and project name with &

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


martin at oneiros

Nov 13, 2007, 7:38 AM

Post #1 of 6 (487 views)
Permalink
TicketQuery and project name with &

Hi,
we have a project with an ampersand in it's name.

How do I quote the ampersand in the arguments to TicketQuery (which
are separated by ampersands)?

TIA
Martin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


martin at oneiros

Nov 15, 2007, 1:55 AM

Post #2 of 6 (482 views)
Permalink
Re: TicketQuery and project name with & [In reply to]

2007/11/13, Martin Schröder <martin [at] oneiros>:
> we have a project with an ampersand in it's name.
>
> How do I quote the ampersand in the arguments to TicketQuery (which
> are separated by ampersands)?

There is no way?

Best
Martin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


stephen.moretti at gmail

Nov 15, 2007, 2:03 AM

Post #3 of 6 (471 views)
Permalink
Re: TicketQuery and project name with & [In reply to]

On 15/11/2007, Martin Schröder <martin [at] oneiros> wrote:
>
>
> 2007/11/13, Martin Schröder <martin [at] oneiros>:
> > we have a project with an ampersand in it's name.
> >
> > How do I quote the ampersand in the arguments to TicketQuery (which
> > are separated by ampersands)?
>
> There is no way?
>

The & in the title needs to be url encoded - becoming &amp;

or you could just replace it with "and" :D

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


martin at oneiros

Nov 15, 2007, 8:22 AM

Post #4 of 6 (469 views)
Permalink
Re: TicketQuery and project name with & [In reply to]

2007/11/15, Stephen Moretti <stephen.moretti [at] gmail>:
> The & in the title needs to be url encoded - becoming &amp;

I already tried &milestone=A%26amp%3BK& :-(

> or you could just replace it with "and" :D

Not an option. :-{

Best
Martin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


jenn at io

Nov 15, 2007, 8:39 AM

Post #5 of 6 (472 views)
Permalink
Re: TicketQuery and project name with & [In reply to]

On Thu, Nov 15, 2007 at 05:22:48PM +0100, Martin Schr?der wrote:
>
> 2007/11/15, Stephen Moretti <stephen.moretti [at] gmail>:
> > The & in the title needs to be url encoded - becoming &amp;
>
> I already tried &milestone=A%26amp%3BK& :-(
>
> > or you could just replace it with "and" :D
>
> Not an option. :-{
>
> Best
> Martin


And just plain &milestone=A%26BK doesn't work? It does for me, under
0.11.

=-=-> Jenn D.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


martin at oneiros

Nov 15, 2007, 8:55 AM

Post #6 of 6 (470 views)
Permalink
Re: TicketQuery and project name with & [In reply to]

2007/11/15, Jennifer A. Drummond <jenn [at] io>:
> And just plain &milestone=A%26BK doesn't work? It does for me, under
> 0.11.

It works in an URL, but not in TicketQuery (10.3.1.).

Best
Martin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.