-
Notifications
You must be signed in to change notification settings - Fork 257
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
DisallowedRedirect: Unsafe redirect to URL with protocol 'data' #632
Comments
Hi, @makseq, thanks for your information. I can see it in the quickview. show task source (minio, base64 part is too long so I removed them here): {
"id": 63506,
"data": {
"image": "data:application/octet-stream;base64,<encoded image data>"},
"annotations": [
{
"id": 37179,
"result": [],
"created_username": " [email protected], 1",
"created_ago": "2 days, 1 hour",
"completed_by": {
"id": 1,
"first_name": "",
"last_name": "",
"avatar": null,
"email": "[email protected]",
"initials": "ad"
},
"was_cancelled": false,
"ground_truth": false,
"created_at": "2024-09-23T06:49:18.736170Z",
"updated_at": "2024-09-23T06:49:18.736205Z",
"draft_created_at": "2024-09-23T06:30:45.061583Z",
"lead_time": 127.01299999999999,
"import_id": null,
"last_action": null,
"task": 63506,
"project": 1,
"updated_by": 1,
"parent_prediction": null,
"parent_annotation": null,
"last_created_by": null
}
],
"predictions": []
} show task source (directly upload): {
"id": 63510,
"data": {
"image": "/data/upload/1/98c429df-IMG_20231203_153031.jpg"
},
"annotations": [
{
"id": 37180,
"result": [],
"created_username": " [email protected], 1",
"created_ago": "2 days, 1 hour",
"completed_by": {
"id": 1,
"first_name": "",
"last_name": "",
"avatar": null,
"email": "[email protected]",
"initials": "ad"
},
"was_cancelled": false,
"ground_truth": false,
"created_at": "2024-09-23T07:17:33.596554Z",
"updated_at": "2024-09-23T07:17:33.596596Z",
"draft_created_at": "2024-09-23T06:43:36.256970Z",
"lead_time": 677.96,
"import_id": null,
"last_action": null,
"task": 63510,
"project": 1,
"updated_by": 1,
"parent_prediction": null,
"parent_annotation": null,
"last_created_by": null
}
],
"predictions": []
} I also tried to use minio access key with full access policy. But get the same 500 error. {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"admin:*"
]
},
{
"Effect": "Allow",
"Action": [
"kms:*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::*"
]
}
]
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 2.0.1dev0
OS: Linux 22.04 + docker compose
Getting the following error when using sam and sam2. Images in minio cause this error, directly uploaded images do not get this error.
Test with post man:
GET:
http://192.168.1.255:8080/tasks/63506/presign/?fileuri=s3://dataset/image/steam/00001.jpg
Headers:
Authorization:Token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
P.S.
Sam2 doesn't get 500 error straight away, it gets this first.
After edit some code to passing the task id in, the 500 error occurs.
The text was updated successfully, but these errors were encountered: