[Akelos PHP Framework] #271: [PATCH] Better parse format in URL

1 view
Skip to first unread message

Akelos PHP Framework

unread,
Sep 23, 2009, 11:38:24 PM9/23/09
to
#271: [PATCH] Better parse format in URL
------------------------------+---------------------------------------------
Reporter: firodj | Type: patch
Status: new | Priority: major
Milestone: 1.0 | Component: Action Controller
Keywords: url format parse |
------------------------------+---------------------------------------------
Better parse {{{{format}}} in requested URL. Consider:
{{{
/blog/show/1
/blog/show/1.xml
/blog/show/1.xml?param=eters
}}}

They are shold go to same controller, action, and id, but with different
format. I found an error before patching.

--
Ticket URL: <http://trac.akelos.org/ticket/271>
Akelos PHP Framework <http://www.akelos.org/>
Akelos PHP Framework

Akelos PHP Framework

unread,
Dec 20, 2009, 10:07:06 AM12/20/09
to
#271: [PATCH] Better parse format in URL
-------------------------------+--------------------------------------------
Reporter: firodj | Owner: firodj
Type: patch | Status: new
Priority: minor | Milestone: 1.3.0
Component: Action Controller | Resolution:
Keywords: url format parse |
-------------------------------+--------------------------------------------
Changes (by bermi):

* owner: => firodj
* priority: major => minor
* milestone: 1.0.1 => 1.3.0

Comment:

I've been trying to reproduce the issue and added a unit test.

The tests pass without applying the patch. Could you please add a case so
we can replicate the issue?

It should not take more than 2 minutes with the following comands for you
to get git://github.com/bermi/akelos.git and test it by running.

{{{
git checkout git://github.com/bermi/akelos.git
cd akelos
./makelos test:case action_pack/responds_to_format
}}}

You can edit the test case and add a new unit by editing:

{{{
test/akelos/action_pack/cases/responds_to_format.php
}}}

akelos core code resides (temporally) at /vendors/akelos/, mime handling
is located at /vendors/akelos/active_support/core/types/mime.php


Moving the ticket to 1.3

--
Ticket URL: <http://trac.akelos.org/ticket/271#comment:1>
Reply all
Reply to author
Forward
0 new messages