Support malformed URL in Recorder, close #1272