Admin panel now correctly URI encodes the URL before making an AJAX call