Christopher Arndt schrieb: > Alessandro Molina wrote: >> some user agents, like the >> facebook external link retriever pass '*' instead of '*/*' this makes >> paste.util.mimeparse.best_match crash on paste.util.mimeparse.parse_mime_type >> >> paste.util.mimeprase.best_match is used by Turbogears to detect which >> template >> to render, and so each TG2 application crashes when contacted by facebook. > > This seems like a serious issue. Can you please open a ticket on our > trac (http://trac.turbogears.org/newticket), so this can be examined and > fixed?
Unfortunately, mimeparse is rather fragile. We introduced a specialized sanitize-middleware into our application because lobbying Ian to include a fix would have been yet-another-TG-project-to-subscribe-to. If there's a ticket, I'll try & dig some of our usecases out, might help. Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

