save_code_now: Ensure origin URL is encoded when querying API with XHR
It fixes acceptance or rejection of a save request for an origin URL that needs to be percent encoded when provided as URL argument.
It fixes acceptance or rejection of a save request for an origin URL that needs to be percent encoded when provided as URL argument.