3
1
Back

'/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } function hook_render_article_cdm($article) { function rel2abs($rel, $base) { $rel = trim($rel); $rel = trim($rel); $rel = trim($rel); Final work on PCB 398c2b234c Checkpoint after converting most things to SMD.

New Pull Request