eric-maynard opened a new pull request, #263:
URL: https://github.com/apache/polaris/pull/263

   # Description
   
   Currently, we are using `URI.getHost` to extract the bucket from paths, 
which can return `null` unexpectedly when the bucket contains an underscore. 
[This seems to be a known 
issue](https://stackoverflow.com/questions/28568188/java-net-uri-get-host-with-underscores).
   
   This PR introduces a thin new utility for extracting the path and adds a 
test for it.
   
   Fixes #262 
   
   ## Type of change
   
   Please delete options that are not relevant.
   
   - [x] Bug fix (non-breaking change which fixes an issue)
   - [ ] Documentation update
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to not work as expected)
   - [ ] This change requires a documentation update
   
   # How Has This Been Tested?
   
   Added a new suite, `StorageUtilTest`.
   
   # Checklist:
   
   Please delete options that are not relevant.
   
   - [x] I have performed a self-review of my code
   - [x] I have commented my code, particularly in hard-to-understand areas
   - [x] My changes generate no new warnings
   


-- 
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]

Reply via email to