You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As of Dec 12 2024, there are open bugs regarding unrecognized API routes simply being routed to the root route (e.g. #899). The current solution is to implement a new routing system (#908). However, there should be a distingushing between non-existent routes for both versitygw and direct calls (such as if a user attempts to send a REST command to a gibberish route like "fjdkalj"), and routes for commands which are available via direct calls but not versitygw (such as "PutPublicAccessBlock").
Expected behavior
A "not implemented" error is returned, rather than a "GET /" response.
Server Version
Version : v1.0.8
Build : 0e83322
BuildTime: 2024-12-08_01:40:15PM
Darwin Lukes-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64
The text was updated successfully, but these errors were encountered:
All these routing bugs will be resolved, when we have the advanced routing system implemented . Right now, it will take a lot of effort to add checks for all the unimplemented routes. I think it requires more fundamental changes as mentioned in #908 .
Describe the bug
As of Dec 12 2024, there are open bugs regarding unrecognized API routes simply being routed to the root route (e.g. #899). The current solution is to implement a new routing system (#908). However, there should be a distingushing between non-existent routes for both versitygw and direct calls (such as if a user attempts to send a REST command to a gibberish route like "fjdkalj"), and routes for commands which are available via direct calls but not versitygw (such as "PutPublicAccessBlock").
To Reproduce
./versitygw --access=******** --secret=******** --region=us-east-1 --iam-dir=/Users/lukemccrone/devel/versitygw/iam --cert /Users/lukemccrone/devel/versitygw/cert.pem --key /Users/lukemccrone/devel/versitygw/versitygw.pem posix --versioning-dir /tmp/versioning /tmp/gw
aws --no-verify-ssl s3api create-bucket --bucket versity-gwtest-bucket-one-1
Expected behavior
A "not implemented" error is returned, rather than a "GET /" response.
Server Version
Version : v1.0.8
Build : 0e83322
BuildTime: 2024-12-08_01:40:15PM
Darwin Lukes-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64
The text was updated successfully, but these errors were encountered: