Software: Apache. PHP/5.3.29 uname -a: Linux tardis23.nocplanet.net 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024
Safe-mode: OFF (not secure) /lib/node_modules/npm/node_modules/npm-cache-filename/ drwxr-xr-x | |
| Viewing file: Select action/file-type: var url = require('url');;
var path = require('path');;
module.exports = cf;;
function cf(root, u) {
if (!u)
return cf.bind(null, root);;
u = url.parse(u);;
var h = u.host.replace(/:/g, '_');;
// Strip off any /-rev/... or ?rev=... bits
var revre = /(\?rev=|\?.*?&rev=|\/-rev\/).*$/;;
var parts = u.path.replace(revre, '').split('/').slice(1);;
// Make sure different git references get different folders
if (u.hash && u.hash.length > 1) {
parts.push(u.hash.slice(1));;
};;
var p = [root, h].concat(parts.map(function(part) {
return encodeURIComponent(part).replace(/%/g, '_');;
}));;
return path.join.apply(path, p);;
}
|
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0203 ]-- |