Informations lost in a string
So, the solution was very simple, 
My pointer "url" received a constant null string with url=""; at the beginning. To initialize a string as null we need to make this : 

 url[0] = '\0';


thanks