Cross domain / to * and remove whitespace from url