3
1
Back

471 .../precadsr-panel-Gerbers/drill_report.rpt | 26 // The Oatmeal $entries = $xpath->query($query); $result_html = ''; function rel2abs($rel, $base $path = ''; function get_xpath_dealie($link) { $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; .

New Pull Request