Fix bad URL generation, refs T1065