nickva commented on a change in pull request #862: Whitelist system DB names as valid _dbs docids URL: https://github.com/apache/couchdb/pull/862#discussion_r142682983
########## File path: src/chttpd/src/chttpd_db.erl ########## @@ -711,7 +711,8 @@ db_doc_req(#httpd{method='GET', mochi_req=MochiReq}=Req, Db, DocId) -> db_doc_req(#httpd{method='POST', user_ctx=Ctx}=Req, Db, DocId) -> couch_httpd:validate_referer(Req), - couch_doc:validate_docid(DocId), + DbName = couch_db:name(Db), + couch_doc:validate_docid(DocId, DbName), Review comment: We are still validating document IDs only. DbName is used as context for validation. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services