http://trac-hacks.org/ticket/11494