Skip to content

[flutter_tools] URI encode dart-define values - #57873

Merged
jmagman merged 3 commits into
flutter:masterfrom
jonahwilliams:json_encode_define
May 27, 2020
Merged

jmagman merged 3 commits into
flutter:masterfrom
jonahwilliams:json_encode_define

Conversation

@jonahwilliams

@jonahwilliams jonahwilliams commented May 23, 2020 •

Copy link
Copy Markdown
Contributor

Description

joining with commas is not sufficient, since it seems certain characters like URLs cause some escaping issues with xcode. URI the values to work around this

Fixes #57812

@fluttergithubbot fluttergithubbot added tool Affects the "flutter" command-line tool. See also t: labels. work in progress; do not review labels May 23, 2020
@jonahwilliams
jonahwilliams marked this pull request as ready for review May 26, 2020 16:07
@jonahwilliams
jonahwilliams requested a review from zanderso May 26, 2020 21:11

@zanderso zanderso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm w/ nit

String getFuchsiaBuildDirectory() {
return globals.fs.path.join(getBuildDirectory(), 'fuchsia');
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra newline

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@jmagman
jmagman merged commit a926715 into flutter:master May 27, 2020
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with "--dart-define" when value contains two forward slashes "//" (URL, etc.)

5 participants