Skip to content

force xml parser to treat bucket name as string in listBuckets API#1343

Merged
prakashsvmx merged 1 commit intominio:masterfrom
prakashsvmx:fix-str-bucket-name
Sep 4, 2024
Merged

force xml parser to treat bucket name as string in listBuckets API#1343
prakashsvmx merged 1 commit intominio:masterfrom
prakashsvmx:fix-str-bucket-name

Conversation

@prakashsvmx
Copy link
Copy Markdown
Member

@prakashsvmx prakashsvmx commented Sep 3, 2024

fixes #1340

Sample results.

 [
  { name: '0000test-bucket', creationDate: 2024-09-03T09:29:38.112Z },
  {
    name: '01110000111100001111000011110000',
    creationDate: 2024-09-03T08:39:04.766Z
  },
  { name: '01test-bucket', creationDate: 2024-09-03T09:29:33.168Z },
  { name: '0test-bucket', creationDate: 2024-09-03T09:29:29.961Z },
  { name: '90test-bucket', creationDate: 2024-09-03T09:29:43.040Z },
  { name: 'test-bucket', creationDate: 2024-09-03T07:11:19.678Z }
]

Copy link
Copy Markdown

@bayasdev bayasdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@prakashsvmx prakashsvmx merged commit 147072e into minio:master Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

listBuckets return name as number not string

3 participants