From: jprocter Date: Thu, 27 Sep 2007 13:04:39 +0000 (+0000) Subject: ultraparanoid zip entry safename function X-Git-Tag: Release_0.2~40 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d1ef6e073d150c7192d65950a9c62045a15a0531;p=vamsas.git ultraparanoid zip entry safename function git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@480 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/objects/utils/AppDataReference.java b/src/uk/ac/vamsas/objects/utils/AppDataReference.java index db06fa6..058f9e6 100644 --- a/src/uk/ac/vamsas/objects/utils/AppDataReference.java +++ b/src/uk/ac/vamsas/objects/utils/AppDataReference.java @@ -146,7 +146,7 @@ public class AppDataReference { * @param entry base application reference to make unique */ public static String uniqueAppDataReference(VamsasDocument dest,String base) { - String urn = base.replace('/','_').replace('\\','_').replace(':', '_'); + String urn = base.replace('/','_').replace('\\','_').replace(':', '_').replace('.', '_'); int v = 1; for (int i=0, j=dest.getApplicationDataCount(); i