-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Which version are you using?
17.0.0
Bug summary
When the remote image provider resolves the remote url for fetching an image, it uses an extension method on the Request.Path property called GetSourceUrlForRemoteImageProviderUrl.
However, this effectively strips any query parameters from the path.
I'm in a situation now where my remote images contains a signature query parameter, that is necessary for getting an image back.
So, when the image provider constructs the source url to use, it should consider both path and query.
It would make sense to add allowed query parameters to the options object.
Eg:
{
"Prefix": "/our",
"RemoteUrlPrefix": "https://our.umbraco.org/",
"AllowedDomains": [ "our.umbraco.org" ],
"AllowedQueryParameters": [ "signature", "timestamp" ]
}
Steps to reproduce
Expected result / actual result
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request