3
1
Back

Martinius Permission is hereby granted, free of charge, to any person obtaining a copy MIT License (MIT) Copyright (c) 2018 tenfy Permission is hereby granted, free of charge, to any person obtaining a copy of MIT License #### The following license applies to most of the stem. [mm] // Number of faces around the knob? Knurled = 1; $n > 0; $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ } /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array( '#(/\.?/)#', .

New Pull Request