Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ep_fileupload

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_fileupload - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

8

hooks.js

@@ -12,3 +12,3 @@ var path = require('path');

args.app.get('/up/:filename(*)', function(req, res) {
var url = req.params['filename'].replace(/\.\./g, '').split("?")[0];
var url = req.params.filename.replace(/\.\./g, '').split("?")[0];
var filePath = path.normalize(path.join(__dirname, "upload", url));

@@ -20,3 +20,3 @@ res.sendfile(filePath, { maxAge: exports.maxAge });

exports.eejsBlock_editbarMenuLeft = function (hook_name, args, cb) {
args.content = args.content + eejs.require("ep_fileupload/templates/fileUploadEditbarButtons.ejs");
args.content = args.content + eejs.require("ep_fileupload/templates/fileUploadEditbarButtons.ejs", {}, module);
return cb();

@@ -26,3 +26,3 @@ }

exports.eejsBlock_scripts = function (hook_name, args, cb) {
args.content = args.content + eejs.require("ep_fileupload/templates/fileUploadScripts.ejs");
args.content = args.content + eejs.require("ep_fileupload/templates/fileUploadScripts.ejs", {}, module);
return cb();

@@ -32,4 +32,4 @@ }

exports.eejsBlock_styles = function (hook_name, args, cb) {
args.content = args.content + eejs.require("ep_fileupload/templates/fileUploadStyles.ejs");
args.content = args.content + eejs.require("ep_fileupload/templates/fileUploadStyles.ejs", {}, module);
return cb();
}
{
"name": "ep_fileupload",
"description": "File upload",
"version": "0.0.1",
"version": "0.0.2",
"author": "RedHog (Egil Moeller) <egil.moller@freecode.no>",

@@ -6,0 +6,0 @@ "contributors": [],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc