Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape ghprbPullTitle properly #426

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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?

@@ -345,7 +345,7 @@ public void run() {
values.add(new StringParameterValue("ghprbPullAuthorLoginMention", "@" + cause.getPullRequestAuthor().getLogin()));

values.add(new StringParameterValue("ghprbPullDescription", escapeText(String.valueOf(cause.getShortDescription()))));
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