kylebarron opened a new issue, #522: URL: https://github.com/apache/arrow-rs-object-store/issues/522
**Describe the bug** The `AmazonS3Builder` cannot parse this URL: ``` https://bucket.s3.amazonaws.com/path ``` It's preferred for URLs to include regions in the URL, like `https://[bucket].s3.[region].amazonaws.com`, but we should still allow the old-style URL. **To Reproduce** This test fails without any changes ```rs let mut builder = AmazonS3Builder::new(); builder .parse_url("https://bucket.s3.amazonaws.com") .unwrap(); assert_eq!(builder.bucket_name, Some("bucket".to_string())); assert!(builder.virtual_hosted_style_request.get().unwrap()); ``` **Expected behavior** Should parse URL **Additional context** ref https://github.com/developmentseed/obstore/issues/589 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
