3
1
Back

And openscad design From 62cb30efbfdab918bafabca8d6c9cca52ce95eca Mon Sep 17 00:00:00 2001 Subject: [PATCH] Various updates, additions /* dirty absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} $re = array( '#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#' ); for ($n = 1; $n > 0; $abs = preg_replace($re, '/', $abs, -1, $n)) { } /* dirty absolute URL is ready! */ return $scheme.

New Pull Request