Azure / azure-storage-php

Microsoft Azure Storage Library for PHP
MIT License
217 stars 196 forks source link

Custom domain #252

Open VincentSurelle opened 4 years ago

VincentSurelle commented 4 years ago

Hi,

I configured a custom domain with HTTPS support (With Azure CDN) in my Blob storage account.

I wonder if it's possible to get the URL with the custom domain with the SDK instead of getting the <accountname>.blob.core.windows.net ?

For now I use a regex to replace it in my code.

Thanks :)


Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the SDK was used?

1.5.1

What's the PHP/OS version?

7.2 Linux

What problem was encountered?

Unable to retrieve URLs with the custom domain

Steps to reproduce the issue?

Upload a blob then retrieve blob URL

Have you found a mitigation/solution?

Using a regex to modify URL in my code

Is there a failing request ID related to this problem returned by server? What is it?

No

What is the storage account name and time frame of your last reproduce? (UTC YYYY/MM/DD hh:mm:ss)

(If you think some of the information should not be shared publicly, you can e-mail the main Microsoft contributors of the repository instead.)

katmsft commented 3 years ago

We will evaluate this feature request. However, we do welcome community contributions, feel free to raise PR on this one.