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

C# follow up #35

Merged
merged 1 commit into from
Jan 19, 2015
Merged

C# follow up #35

merged 1 commit into from
Jan 19, 2015

Conversation

XVincentX
Copy link
Contributor

Another follow up due to rebase and automated test using Mono.

@kuba-kubula
Copy link
Member

@XVincentX Please use "zero" base indentation for the code block, or otherwise it will be indented everywhere. It is not needed.

}
<% if @method in ['GET', 'DELETE', 'OPTIONS', 'HEAD']: %>
<% if @method is 'HEAD': %>
var requestUri = new Uri(baseAddress, "<%- @url.substring(1) %>");
Copy link
Member

Choose a reason for hiding this comment

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

Please always use <%= when printing user-input data.

For all <%- @url.substring(1) %> in lines below too, please. @XVincentX

kuba-kubula added a commit that referenced this pull request Jan 19, 2015
@kuba-kubula kuba-kubula merged commit 8b15ffc into master Jan 19, 2015
@kuba-kubula kuba-kubula deleted the XVincentX/followupCsharp branch January 19, 2015 15:23
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.

2 participants