As promised:
http://reviewboard.liftweb.net/r/126/
These 447 extension types should cover mode dispatch use cases. Custom
extensions / mime types will still need to add to the list, but this
is alright IMHO. Your thoughts please!
Cheers, Tim
On Nov 25, 5:39 pm, Timothy Perrett <
timo...@getintheloop.eu> wrote:
> Im all over it. I'll have a fix on review board within the hour.
>
> Cheers, Tim
>
> On 25 Nov 2009, at 17:09, David Pollak wrote:
>
>
>
>
>
> > On Wed, Nov 25, 2009 at 7:59 AM, Timothy Perrett <
timo...@getintheloop.eu> wrote:
> > Agreed - I work with lift every day and this was a new one on me!
>
> > I think adding a whole raft of common types would be the simplest way to go an be quickest to implement. If memory serves there is a fairly comprehensive list on IANA (or some similar acronym) that we could grab and implement - thoughts?
>
> > Sounds good. I'd rather see a fix sooner rather than later. Can you open a ticket? Can you own the ticket?
>
> > Cheers, Tim
>
> > Sent from my iPhone
>
> > On 25 Nov 2009, at 15:34, David Pollak <
feeder.of.the.be...@gmail.com> wrote:
>
> >> I'm not overly keen on the whitelist stuff. Someone's going to get cranky about it.
>
> >> I'm open to either adding a whole lot more to the white list or saying that everything < n characters (e.g., 5) is a suffix unless it's on a blacklist.
>
> >> On Wed, Nov 25, 2009 at 5:49 AM, Timothy Perrett <
timo...@getintheloop.eu> wrote:
> >> Yeah :-)
>
> >> I had not realised that there was this list of "approved" extensions. I actually have a custom mime type and extension in my application and upgrading from M6 to SNAPSHOT caused this extremely difficult to debug situation.
>
> >> As below, some warnings or something like that would really really help.
>
> >> Cheers, Tim
>
> >> On 25 Nov 2009, at 13:35, Derek Chen-Becker wrote:
>
> >> > Was that what was preventing your dispatch from working?
>
> >> > On Wed, Nov 25, 2009 at 4:43 AM, Timothy Perrett <
timo...@getintheloop.eu> wrote:
> >> > Guys,
>
> >> > I have some major issues with LiftRules.explicitlyParsedSuffixes - I
> >> > just wasted almost a whole day yesterday chasing around what I thought
> >> > were bugs in my code but were actually issues with the new suffix
> >> > handling. The list of defaults are just wayyyy to narrow. Missing out
> >> > standard web formats like pdf, swf and that little know
> >> > format .txt ;-) This is causing me all sorts of hard-to-debug issues -
> >> > no errors, no warnings etc; just blank screens.
>
> >> > Can I suggest the list of defaults is made much larger and encompasses
> >> > all manner of formats and that some warning log messages are added to
> >> > Req so that if what you want is not in the list it gives you some note
> >> > to that effect. Ones that are obviously missing:
>
> >> > pdf
> >> > txt
> >> > tif
> >> > tiff
>
> >> > Cheers, Tim
>
> >> > --
>
> >> > You received this message because you are subscribed to the Google Groups "Lift" group.
> >> > To post to this group, send email to
lif...@googlegroups.com.
> >> > To unsubscribe from this group, send email to
liftweb+u...@googlegroups.com.
> >> > For more options, visit this group athttp://
groups.google.com/group/liftweb?hl=en.
>
> >> > --
>
> >> > You received this message because you are subscribed to the Google Groups "Lift" group.
> >> > To post to this group, send email to
lif...@googlegroups.com.
> >> > To unsubscribe from this group, send email to
liftweb+u...@googlegroups.com.
> >> > For more options, visit this group athttp://
groups.google.com/group/liftweb?hl=en.
> >> For more options, visit this group athttp://
groups.google.com/group/liftweb?hl=en.
>
> >> --
> >> Lift, the simply functional web frameworkhttp://
liftweb.net
> >> Beginning Scalahttp://
www.apress.com/book/view/1430219890
> >> For more options, visit this group athttp://
groups.google.com/group/liftweb?hl=en.
> > For more options, visit this group athttp://
groups.google.com/group/liftweb?hl=en.
>
> > --
> > Lift, the simply functional web frameworkhttp://
liftweb.net
> > Beginning Scalahttp://
www.apress.com/book/view/1430219890