Fixing bug 1148, cannot attach url

--HG--
extra : source : 38cd94ef45f8f9648eda45262dbcc2bfd4e9ce1d