Labels Milestones
Back'//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme.'://'.$abs; } /* replace '//' or '/./' or '/foo/../' with '/' */ } function api_version() { return array( $html, $content_type ); } /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; } From 2cddc4d62d38c9e1b69839f92a19e7915eecbceb Mon Sep 17 00:00:00 2001 .../UNSEEN SERVANT.png | Bin 0 -> 259172 bytes Latest commits for file Fireball/Fireball.kicad_prl couple more minor clearance tweaks Subject: [PATCH 14/18] replaces FIREBALL mask/etch with silkscreen caaf12f2da0fe056d0b625b9c1a860efbae9f4d1 adds ideas for a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // replace the