Andrew Davey
Andrew Davey

Reputation: 5451

RavenDB returns 401 Unauthorized when putting document ID containing admin

If my document ID starts with admin then trying to PUT it fails with HTTP 401 Unauthorized

PUT http://localhost:8080/databases/mydb/docs/admin

admin + anything else also fails

prefixing admin e.g. foo-admin works

Why is this happening?

Upvotes: 1

Views: 147

Answers (1)

Ayende Rahien
Ayende Rahien

Reputation: 22956

This is fixed in the next build of RavenDB, thanks for the bug report.

Upvotes: 1

Related Questions