urldecode the parts of the database URLs before using them