You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by gi...@apache.org on 2017/10/30 22:27:05 UTC
ant-ivy git commit: More stringent cleanup of non-ASCII
Repository: ant-ivy
Updated Branches:
refs/heads/master ce3596e64 -> ada0a22ac
More stringent cleanup of non-ASCII
Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/ada0a22a
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/ada0a22a
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/ada0a22a
Branch: refs/heads/master
Commit: ada0a22acffd6fa6c08e7944e11328a2193bb14c
Parents: ce3596e
Author: Gintas Grigelionis <gi...@apache.org>
Authored: Mon Oct 30 23:26:45 2017 +0100
Committer: Gintas Grigelionis <gi...@apache.org>
Committed: Mon Oct 30 23:26:45 2017 +0100
----------------------------------------------------------------------
build-release.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/ada0a22a/build-release.xml
----------------------------------------------------------------------
diff --git a/build-release.xml b/build-release.xml
index cf96da7..42c02e8 100644
--- a/build-release.xml
+++ b/build-release.xml
@@ -619,7 +619,7 @@
name = atts.item(j).getTextContent().split(/[\s,]+/).pop()
out.write(id + '.@' + ((id === "ivysettings.resolvers") ? name.toLowerCase() : name) + ' = '
+ xpath.evaluate("../td[2]", atts.item(j), javax.xml.xpath.XPathConstants.NODE)
- .getTextContent().replace(/\n/g, " ").replace(/[\xA0-\xE1\xE3-\xFF]/g, "") + '\n');
+ .getTextContent().replace(/\n/g, " ").replace(/[\x00-\x1F\xA0-\xE1\xE3-\xFF]/g, "") + '\n');
}
} catch (e) {
print('\terror: ' + e);