Then $ro->gen('foo', array('path' => new
AgaviRoutingValue('/where/would/you/like/to/go/today', false))); should work.
felix
On Mar 4, 2010, at 11:53 AM, Tom Anheyer wrote:
> Hi,
>
> Agavi/1.0.2-RC3 on PHP/5.3.1
>
> tom
>
> Am Donnerstag 04 März 2010 schrieben Sie:
>> Which version of agavi are you using?
>>
>> felix
>>
>> On Mar 4, 2010, at 11:20 AM, Tom Anheyer wrote:
>>> Hello,
>>>
>>> we use the routing to simulate a filesystem. Here is part of our routing:
>>>
>>> <routes>
>>>
>>> <!--
>>>
>>> simulate filesystem directory tree
>>>
>>> -->
>>> <route name=".rubric" pattern="^({rubricPath:[\w/-]*/})" cut="true">
>>>
>>> ...
>>>
>>> <!--
>>>
>>> Specials: feeds
>>>
>>> -->
>>> <route name=".misc" pattern="^.x-" module="Misc">
>>>
>>> <route name=".feed" pattern="^feed/({cms_module:\w+})$"
>>> action="Feed">
>>>
>>> ...
>>>
>>> <route name=".kml" pattern="^.kml$" output_type="kml" />
>>>
>>> </route>
>>>
>>> </route>
>>>
>>> </route>
>>>
>>> </routes>
>>>
>>> The rubricPath parameter contains '/'. AgaviRouting::gen() generates for
>>> route '.rubric.misc.feed.kml' the URL:
>>>
>>> http://bo.tay.dev.bo.intern%2Fthemen%2Freise%2Fostsee%2F.x-feed/category.
>>> kml?id=1103850&language=61435
>>>
>>> The Query-String is quoted as expected. But the rubricPath is also quoted
>>> and the URL doesn't work. Is there a chance to disable the quoting for
>>> parameters used in the path part of an URL?
>
> --
> Tom Anheyer
> BerlinOnline Stadtportal GmbH & Co. KG
> Karl-Liebknecht-Straße 29
> D-10178 Berlin
> persönlich haftende Gesellschafterin: BerlinOnline
> Stadtportalbeteiligungsgesellschaft mbH
> Sitz / Handelsregister: Berlin / Amtsgericht Charlottenburg - HRA 31951
> Geschäftsführer: Dr. Robert Daubner
> Tel.: +49 30 23275210
> Fax.: +49 30 2327785210
>
> USt.-IdNr: DE 219 483 549
>
> URL: http://www.BerlinOnline.de/wir-ueber-uns/
--
Felix Gilcher
Bitextender GmbH
Paul-Heyse-Str. 6
D-80336 München
T: +49 89 57 08 15 16
F: +49 89 57 08 15 17
M: +49 172 840 88 28
[email protected]
http://www.bitextender.com/
Amtsgericht München, HRB 174280
Geschäftsführer: David Zülke, Florian Clever
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users