3
1
Back

About() { return $this->mangle_article($article); } function hook_render_article_cdm($article) { return 2; } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } /* dirty absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array( '#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#' ); for ($n = 1; $n > 0; $abs = preg_replace($re, .

New Pull Request