RE: [Lift] Beef with LiftRules.explicitlyParsedSuffixes
By the way Microsoft uses some really long suffixes, e.g., MS Access Developer Extension Deployment Wizard files, and Pocket PC emulator. -Original Message- From: David Pollak feeder.of.the.be...@gmail.com Sent: Wednesday, November 25, 2009 10:34 AM To: liftweb@googlegroups.com Subject: Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes 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 -- 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.
[Lift] Beef with LiftRules.explicitlyParsedSuffixes
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 wa 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. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes
Was that what was preventing your dispatch from working? On Wed, Nov 25, 2009 at 4:43 AM, Timothy Perrett timo...@getintheloop.euwrote: 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 wa 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.comliftweb%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. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes
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 wa 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. 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. 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. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes
I would agree. In general I would lean toward being overly verbose about what's happening in Lift when in dev mode. On Wed, Nov 25, 2009 at 6:49 AM, Timothy Perrett timo...@getintheloop.euwrote: 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 wa 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.comliftweb%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.comliftweb%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.comliftweb%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. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes
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.euwrote: 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 wa 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.comliftweb%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.comliftweb%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.comliftweb%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.
Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes
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? 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 wa 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 . 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 . 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 . 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 . -- 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.
Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes
On Wed, Nov 25, 2009 at 7:59 AM, Timothy Perrett timo...@getintheloop.euwrote: 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 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 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 wa 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 liftweb@googlegroups.com lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb%2bunsubscr...@googlegroups.com liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en 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 liftweb@googlegroups.com lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb%2bunsubscr...@googlegroups.com liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en 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 liftweb@googlegroups.com lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb%2bunsubscr...@googlegroups.com liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en http://groups.google.com/group/liftweb?hl=en. -- Lift, the simply functional web framework http://liftweb.net http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpphttp://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. -- 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.comliftweb%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
Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes
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 wa 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. 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. 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. 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. -- 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. -- 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. -- 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