https://github.com/TurboGears/tg2/commit/1cc93ca1c644f5e50cb56ecbf0db38ed20b1d6dfshould
provide a fix for the issue reusing the extension detection provided
by crank


On Mon, Jan 7, 2013 at 7:28 PM, Alessandro Molina <
[email protected]> wrote:

> Nope, didn't work on this yet.
> It looks like it might be an issue related to crank and tg integration,
> both TG and Crank try to handle the extension.
>
> That would explain why http://localhost:8080/foo.some.html works while it
> should have lead to a 404.
> Because TG removes the ".html" then crank removes the ".some" and is left
> with a /foo with .html being the extension for TG and .some being the
> extension for crank. Crank doesn't actually use the extension at all, so
> this doesn't have any side effect apart a weird behaviour when multiple
> extensions are provided.
>
> This should be fairly easy to fix, I'm going to write a test unit to show
> the issue and fix it this evening on development branch, so we can include
> it into 2.2.1
>
>
> On Sat, Jan 5, 2013 at 7:41 AM, Michael Pedersen <[email protected]>wrote:
>
>> I'm going to hold off until Alessandro gets back. He might have already
>> implemented a fix, and duplicating that effort would be ridiculous,
>> especially with how much else I'm trying to get done right now.
>>
>>
>> On Fri, Jan 4, 2013 at 2:40 AM, ozwyzard <[email protected]> wrote:
>>
>>>
>>> This is my current fix:
>>>
>>> http://pastie.org/private/ky43zj0rah6y8r4yjixnew
>>>
>>> Hope it helps.
>>>
>>>
>>>
>>> On Wednesday, January 2, 2013 9:01:20 PM UTC-8, Michael Pedersen wrote:
>>>>
>>>> Okay, this is interesting. Alessandro, have you looked into this yet? I
>>>> figured I'd ask you first before I started.
>>>>
>>>>
>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "TurboGears" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/turbogears/-/1leH1wrHBXIJ.
>>>
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/turbogears?hl=en.
>>>
>>
>>
>>
>> --
>> Michael J. Pedersen
>> My Online Resume: http://www.icelus.org/ -- Google+
>> http://plus.ly/pedersen
>> Google Talk: [email protected] -- Twitter: pedersentg
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "TurboGears" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/turbogears?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en.

Reply via email to