Skip to content

Allow Denormalising Keys for Azure Storage #709

Open

Description

@amandesai01

Environment

  • Node.js: v24.6.0
  • npm: 11.5.1
  • Yarn: 1.22.22
  • Nuxt: ^3.17.4

Reproduction

call setItem or setItemRaw for a specific path after mounting Azure blob storage driver.

Describe the bug

I am using Azure blob driver, and I am unable to upload nested blobs. Upon inspection, we found that while normalising keys, / is replaced with :. This stops application from posting files into nested folder.

Proposed Solution (Which we are currently doing):
Allow an options flag into Azure driver, called allowNestedPath (or something similar). Then, inside all the getters and setters, replace / back instead of :.

Additional context

No response

Logs

Activity

  1. added
    bug
    on Nov 12, 2025
  2. amandesai01 commented on Nov 12, 2025

    @amandesai01
    Author

    Open to fixing this if approved.

  3. amandesai01 commented on Nov 13, 2025

    @amandesai01
    Author

    A better (and more future proof) way to do this is to allow drivers to expose prefs back to unstorage (to customise behaviour), and that could contain a flag to stop unstorage from normalising keys.

  4. amandesai01 commented on Oct 9, 2026

    @amandesai01
    Author

    By any chance, will this be implemented? Need this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions