Skip to content

Commit ac4a762

Browse files
bourgeoaTallTed
andauthored
Update lib/resource-mapper.js
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
1 parent 1859144 commit ac4a762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resource-mapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class ResourceMapper {
147147
return { path, contentType: contentType || this._defaultContentType }
148148
}
149149

150-
// encode/decode path except slash (/) / %encodedSlash (%2F|%2f) /ntimes%encodedSlash (%2525...2F|%2525...2f)
150+
// encode/decode path except slash (/), %encodedSlash (%2F|%2f), or ntimes%encodedSlash (%2525...2F|%2525...2f)
151151
// see https://github.com/solid/node-solid-server/issues/1666
152152
_exceptSlash () { return /(\/|%(?:25)*(?:2f))/gi }
153153

0 commit comments

Comments
 (0)