Ticket #2488: spacesInWindowsURLs.patch
File spacesInWindowsURLs.patch, 2.2 KB (added by mira, 15 years ago) |
---|
-
modules/org.sophie2.s2s/src/main/java/org/sophie2/s2s/ServerModule.java
### Eclipse Workspace Patch 1.0 #P sophie
46 46 ServerResourceHelper helper = resourceHelperExtension.getObject(); 47 47 helper.initialize(); 48 48 49 WebAppModule.get().startServer( );49 WebAppModule.get().startServer(9016); 50 50 } 51 51 }); 52 52 -
modules/org.sophie2.server.webui/src/main/resources/jsps/resource_book.jspx
50 50 var bookRefValue = href + separator + serverUrl + separator + userSessionId; 51 51 var attributes = { 52 52 code: "org.sophie2.launcher.AppletMain.class", 53 codebase: "http://s ophie.org/sophie2-reader-applet/reader/",53 codebase: "http://straxil.asteasolutions.net/applet-demo/reader/", 54 54 archive: "org.sophie2.launcher-2.0.1.jar", 55 55 width: width, 56 56 height: height -
modules/org.sophie2.reader/src/main/java/org/sophie2/reader/ReaderModule.java
128 128 //open only first book. 129 129 ResourceRefR4 bookRef; 130 130 AccessOptions options = AccessOptions.DEFAULT_ACCESS_OPTIONS.modifyViewId(); 131 String bookLocation = startUpBookFiles[0]; 131 //if this string comes from a windows url 132 String bookLocation = startUpBookFiles[0].replaceAll("%20", " "); 132 133 if (bookLocation.startsWith(LocationPrefix.FILE)) { 133 134 bookRef = ResourceRefR4.make(bookLocation); 134 135 } else if (bookLocation.startsWith(LocationPrefix.SERVER)) {