microsoft / microsoft/AzureStorageExplorer

Keep 'Content type' when blob is replaced

Open
#1,208 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

:grey_question: investigate
Dominant language
No language data
Stars
452
Forks
92
Avg merge
15h 20m
Merged PRs (30d)
3

Description

Is your feature request related to a problem? Please describe.
When we upload markdown (*.md) file as blob, the ContentType is set to 'text/x-markdown'. In order to display correct encoding when viewed through a browser, we need to update the blob property ContentType to 'text/x-markdown; charset=utf-8'. When this blob is updated with a new version (replaced) the ContentType is set back to 'text/x-markdown'.

Describe the solution you'd like
Keep custom edited ContentType.

Describe alternatives you've considered
As an alternative, we could at least get a warning that the ContentType will be updated from A to B after the replacement.

Additional context
Testet in Azure Storage Explorer 1.6.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Azure Storage Explorer by uploading a markdown blob, editing its ContentType to include charset=utf-8, and replacing the blob. Trace the replacement flow and verify that the custom ContentType is retained after replacement; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.