Application.OpenURL sometimes not working on iOS?

Seems that this code isn’t working, i can’t see why, in PC and Android all works like a charm

string scopes = "";
        scopes += "user-read-private";

        //Listening History
        scopes += " user-read-recently-played";

        //Spotify Connect
        scopes += " user-read-playback-state";
        scopes += " user-read-currently-playing";
        scopes += " user-modify-playback-state";

        //Playback
        scopes += " app-remote-control";

        //Users
        scopes += " user-read-email";
        
        string url = "https://accounts.spotify.com/authorize?client_id=" + ClientId + "&response_type=code&redirect_uri=" + Proxy + "&scope=" + scopes + "&state=34fFs29kd09";
        
        Application.OpenURL(url);

where Proxy is “http://127.0.0.1:4444/” and ClientID something like “9sdug9…”

Would appreciate some help :_D

I finally figgured it out! using WWW.EscapeURL(scopes) solved everything ^^