Skip to content

Escape ghprbPullTitle properly#426

Open
tknodell wants to merge 1 commit intojaninko:masterfrom
tknodell:JENKINS-30947
Open

Escape ghprbPullTitle properly#426
tknodell wants to merge 1 commit intojaninko:masterfrom
tknodell:JENKINS-30947

Conversation

@tknodell
Copy link

@ghost-api
Copy link

Can one of the admins verify this patch?

@alexkomis
Copy link

Can one of the admins verify this patch?

1 similar comment
@meruvasivakumari
Copy link

Can one of the admins verify this patch?

values.add(new StringParameterValue("ghprbPullTitle", String.valueOf(cause.getTitle())));
values.add(new StringParameterValue("ghprbPullTitle", escapeText(String.valueOf(cause.getTitle()))));
values.add(new StringParameterValue("ghprbPullLink", String.valueOf(cause.getUrl())));
values.add(new StringParameterValue("ghprbPullLongDescription", escapeText(String.valueOf(cause.getDescription()))));
Copy link

Choose a reason for hiding this comment

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

i think the same thing needs to be done here. my descriptions often contain `` escaped quotes which cause shell failures.

@mortax
Copy link

mortax commented Jul 29, 2017

👍 i would love to see this PR merged (plus my suggestions to do the same thing for the description)!

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.

5 participants