MCPcopy Index your code
hub / github.com/parse-community/parse-server / allowDoubleForwardSlash

Function allowDoubleForwardSlash

src/middlewares.js:823–826  ·  view source on GitHub ↗
(req, res, next)

Source from the content-addressed store, hash-verified

821 * http://localhost:1337/parse//functions/testFunction
822 */
823export function allowDoubleForwardSlash(req, res, next) {
824 req.url = req.url.startsWith('//') ? req.url.substring(1) : req.url;
825 next();
826}

Callers

nothing calls this directly

Calls 1

nextFunction · 0.85

Tested by

no test coverage detected