big-r81 commented on code in PR #4289:
URL: https://github.com/apache/couchdb/pull/4289#discussion_r1039717917
##########
src/couch/src/couch_server.erl:
##########
@@ -416,10 +416,11 @@ all_databases(Fun, Acc0) ->
true,
fun(Filename, AccIn) ->
NormFilename = couch_util:normpath(Filename),
- case NormFilename -- NormRoot of
- [$/ | RelativeFilename] -> ok;
- RelativeFilename -> ok
- end,
+ RelativeFilename =
+ case NormFilename -- NormRoot of
+ [$/ | Filename] -> Filename;
Review Comment:
Ohhhh, I totally overlooked that! Of course, that won't work! Will fix this!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]