Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST api throws NotFound if custom id contains / symbol #7021

Open
Fitch24 opened this issue Jul 3, 2024 · 0 comments
Open

REST api throws NotFound if custom id contains / symbol #7021

Fitch24 opened this issue Jul 3, 2024 · 0 comments
Labels
status: needs-triage Possible bug which hasn't been reproduced yet v2

Comments

@Fitch24
Copy link

Fitch24 commented Jul 3, 2024

Link to reproduction

No response

Describe the Bug

When custom id contains / symbol all id-specified operations /api/{collection-slug}/{id} throws NotFound error in REST-api.

To Reproduce

  • Create a collection with customizable id where field type is text
  • Create a new element in that collection with id containing / symbol. Like foo/bar
  • Try Find By ID, Update By ID or Delete by ID operation

Payload Version

2.23.1

Adapters and Plugins

db-mongodb

@Fitch24 Fitch24 added status: needs-triage Possible bug which hasn't been reproduced yet v2 labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs-triage Possible bug which hasn't been reproduced yet v2
Projects
None yet
Development

No branches or pull requests

1 participant