praveenc7 commented on PR #14383:
URL: https://github.com/apache/pinot/pull/14383#issuecomment-2462798428
> IIUC, the intention is to avoid bypassing the `isBaseFile()` check? What
is the purpose of `isBaseFile()`? I'd suggest making it very limited (e.g. only
allow `"."`, or is it even required?)
I’m not aware of the historical reasons for why this check is necessary,
This type of check is generally used to filter paths, likely to allow access
only to certain files, such as configuration files or top-level resources,
while excluding directories and complex paths.
For example :` https://example.com/file.txt` ,
`https://example.com/image.png`
Let me make the check a more tighter
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]