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

XML Var. substitution - Escape XML characters #6980

Merged
merged 4 commits into from
Apr 20, 2018

Conversation

vincent1173
Copy link
Contributor

@vincent1173 vincent1173 commented Apr 13, 2018

@vincent1173 vincent1173 reopened this Apr 18, 2018
@vincent1173 vincent1173 changed the title xml poc XML Var. substitution - Escape XML characters Apr 18, 2018
@vincent1173 vincent1173 added Area: Release Area: AzureAppService Label to monitor Azure App Service issues labels Apr 18, 2018
@@ -262,4 +265,18 @@ function updateXmlConnectionStringsNodeAttribute(xmlDomNode, variableMap, replac
}

return isSubstitutionApplied;
}

function replaceEscapeXMLCharacters(xmlDOM) {
Copy link

Choose a reason for hiding this comment

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

Should we rename xmlDOM to xmlDomNode in method argument?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

renamed.

return;
}

for(var xmlAttributes in xmlDOM.attrs) {
Copy link

Choose a reason for hiding this comment

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

xmlAttributes should be singular.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done. thanks.

@vincent1173 vincent1173 merged commit 7bee928 into master Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: AzureAppService Label to monitor Azure App Service issues Area: Release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants