Skip to content

fix(main): URL-encode commas in image_with_width_with_height_with_fitting_mode() URL template#1551

Open
GokulSudheesh wants to merge 1 commit into
microsoftgraph:mainfrom
GokulSudheesh:main
Open

fix(main): URL-encode commas in image_with_width_with_height_with_fitting_mode() URL template#1551
GokulSudheesh wants to merge 1 commit into
microsoftgraph:mainfrom
GokulSudheesh:main

Conversation

@GokulSudheesh

Copy link
Copy Markdown

issue Description

The generated URL template for
image_with_width_with_height_with_fitting_mode() used literal commas
to separate the width, height, and fittingMode parameters in the template URL

image(width={width},height={height},fittingMode='{fittingMode}')

Unencoded commas here caused the request to fail. The comas were getting omitted while making the actual request. Encoding them as
%2C resolves the issue:

image(width={width}%2Cheight={height}%2CfittingMode='{fittingMode}')

@GokulSudheesh GokulSudheesh requested a review from a team as a code owner July 15, 2026 23:14
@GokulSudheesh

Copy link
Copy Markdown
Author

@jingjingjia-ms please take a look when you get the time,
thank you

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant