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 lift...@googlegroups.com. > > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group at > http://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 lift...@googlegroups.com. > > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group at > http://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 lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.