You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you find a security vulnerability, do NOT open an issue. Email [email protected] instead.
Describe the bug
When i return the url of an image asset, it comes with default transformation queries of q for quality set to 75 and w for width set to 640. i want to have maximum quality and the default width. When i set these parameters using the urlBuilder, the url returned has both of the above parameters duplicated: https://cdn.sanity.io/images/yncg0snw/production/74e02c91401ae000160f4497161b3c959dc80e01-777x472.jpg?q=100?w=640&q=75
This leads to an error: {"statusCode":400,"error":"Bad Request","message":"Parameter \"q\" must be a valid integer"}
Expected behavior
I expected the quality query string to be replaced with set value but instead both of them are returned
Which versions of Sanity are you using?
@sanity/cli (global) 3.21.0 (latest: 3.21.3)
What operating system are you using?
MacOs Silicon chip
Which versions of Node.js / npm are you running?
10.2.3
v21.2.0
The text was updated successfully, but these errors were encountered:
If you find a security vulnerability, do NOT open an issue. Email [email protected] instead.
Describe the bug
When i return the url of an image asset, it comes with default transformation queries of q for quality set to 75 and w for width set to 640. i want to have maximum quality and the default width. When i set these parameters using the urlBuilder, the url returned has both of the above parameters duplicated:
https://cdn.sanity.io/images/yncg0snw/production/74e02c91401ae000160f4497161b3c959dc80e01-777x472.jpg?q=100?w=640&q=75
This leads to an error:
{"statusCode":400,"error":"Bad Request","message":"Parameter \"q\" must be a valid integer"}
Expected behavior
I expected the quality query string to be replaced with set value but instead both of them are returned
Which versions of Sanity are you using?
@sanity/cli (global) 3.21.0 (latest: 3.21.3)
What operating system are you using?
MacOs Silicon chip
Which versions of Node.js / npm are you running?
10.2.3
v21.2.0
The text was updated successfully, but these errors were encountered: