You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I smell security issues with this, probably directory traversal; probably in that you're only working with / and not \ too. Let path do the job it is made to do.
https://github.com/designcreateplay/NodeBB/blob/master/src/routes/user.js#L115
I smell security issues with this, probably directory traversal; probably in that you're only working with
/
and not\
too. Let path do the job it is made to do.http://nodejs.org/api/path.html
Use path.normalize to prevent directory traversal, path.relative to change the path we're aimed towards...etc.
The text was updated successfully, but these errors were encountered: