[ 
https://issues.apache.org/jira/browse/SENTRY-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266996#comment-16266996
 ] 

Arjun Mishra commented on SENTRY-2032:
--------------------------------------

[~belugabehr] Looks like the normalize method still retains the leading slash. 
So it doesn't really help us. 

> Leading Slashes need to removed when creating HMS path entries
> --------------------------------------------------------------
>
>                 Key: SENTRY-2032
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2032
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.0.0
>            Reporter: Arjun Mishra
>            Assignee: Arjun Mishra
>             Fix For: 2.0.0
>
>         Attachments: SENTRY-2032.01.patch, SENTRY-2032.02.patch, 
> SENTRY-2032.03.patch, SENTRY-2032.04.patch
>
>
> When retrieving full path image update, we split a path by "/" and create HMS 
> Path entries. However, the leading "/" presence will cause issues because on 
> splitting the value at index 0 will be empty. This will affect the creation 
> of HMS path entries. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to