storage icon indicating copy to clipboard operation
storage copied to clipboard

StoragePath.Normalize unexpectedly adds a "/" at the begining of the path

Open fubar-coder opened this issue 5 years ago • 0 comments

Around 8 months ago, the option for StoragePath.Normalize changed from includeTrailingRoot to removeTrailingSlash, which is a breaking change, because the path returned by the Blob class is suddenly returned with a / at the beginning.

I can work around this change, but it was unexpected.

I report this issue for the following reasons:

  • Missing documentation of a breaking change
  • Normalize removes/adds the preceding slash, not the trailing one

fubar-coder avatar Jan 10 '21 03:01 fubar-coder