Ah - yes - this one: 

 * url: http://stackoverflow.com/questions/2462385/getting-an-ambiguous-redirect-error
 * title: bash - Getting an &quot;ambiguous redirect&quot; error - Stack Overflow

Would it be better to handle on the way into the database rather than on the way back out?