Commits

Mikhail Voytenko  committed 3b8cde7

fwk160: #i106223# replace pkg: protocol with zip: if necessary

  • Participants
  • Parent commits 51b3698

Comments (0)

Files changed (2)

File desktop/source/deployment/registry/help/dp_help.cxx

                         aJarFile, rtl_UriCharClassPchar,
                         rtl_UriEncodeIgnoreEscapes,
                         RTL_TEXTENCODING_UTF8 );
-                    rtl::OUString aDestBasePath = rtl::OUString::createFromAscii( "vnd.sun.star.pkg://" );
+                    rtl::OUString aDestBasePath = rtl::OUString::createFromAscii( "vnd.sun.star.zip://" );
                     aDestBasePath += aEncodedJarFilePath;
                     aDestBasePath += rtl::OUString::createFromAscii( "/" );
 

File wizards/com/sun/star/wizards/web/WWD_Events.java

         //replace all '/' with '%2F'
         url1 = JavaTools.replaceSubString(url1, "%2F", "/");
 
-        p.url = "vnd.sun.star.pkg://" + url1 + "/";
+        p.url = "vnd.sun.star.zip://" + url1 + "/";
 
         /*
          * and now ftp...