Closed mbekkelund closed 7 years ago
Not quite:
error 101 "depeche;mode"
gives:
error 101 "depeche
Ok, thanks fgsch, I took another look at it now. Do you see any possible pitfalls in the second commit?
09:53 $ cat test_v3
error 101 "http://example";
error 202 "http://example" + req.url;
error 303 "http://porcupine;tree" + req.url;
error 404 "http://porcupine;tree;fear?of+a#blank&planet@" + req.url + req.something;
09:53 $ cat test_v4
return (synth(101, "http://example"));
return (synth(202, "http://example" + req.url));
return (synth(303, "http://porcupine;tree" + req.url));
return (synth(404, "http://porcupine;tree;fear?of+a#blank&planet@" + req.url + req.something));
Looks good.
Could you squash the commits and improve the commit message?
Ok, squashed and improved commit message.
Applied with some tweaks in the commit message.
Thanks for the PR.
I think this change should do it. Atleast it seems to work with my test-files.
It also works with no arguments.