Skip to content

Commit

Permalink
Merge pull request #961 from scribetw/B85-ZK-3796
Browse files Browse the repository at this point in the history
ZK-3796: unexpectedly loaded metainfo/zk/build in zpoi.jar causes lic…
  • Loading branch information
wenninghsu committed Nov 22, 2017
2 parents d7161ce + 4a028bc commit 562b29d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zk/src/org/zkoss/zk/ui/impl/AbstractWebApp.java
Expand Up @@ -403,7 +403,7 @@ public static synchronized String loadBuild() {
while (en.hasMoreElements()) {
URL url = en.nextElement();
String path = url.getPath();
if (path != null && (path.contains("zk.jar!" + FILE) || path.matches("(.*)zk-\\d.*\\.jar\\!" + FILE))) { //the filename of jar might change
if (path != null && path.matches(".*/zk(-\\d[^/]*?)?\\.jar\\!?" + FILE + "$")) { //the filename of jar might change
is = url.openStream();
break;
}
Expand Down
1 change: 1 addition & 0 deletions zkdoc/release-note
Expand Up @@ -8,6 +8,7 @@ ZK 8.5.1
ZK-3789: Animation onRestore cause redrawn in CKEditor
ZK-3794: Textbox cut the bottom of text
ZK-3795: Progressmeter is not completely filled
ZK-3796: unexpectedly loaded metainfo/zk/build in zpoi.jar causes license checking failure

* Upgrade Notes

Expand Down

0 comments on commit 562b29d

Please sign in to comment.