← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13108: minor fix in URL handling of apps

 

------------------------------------------------------------
revno: 13108
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-12-03 08:53:58 +0100
message:
  minor fix in URL handling of apps
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/appmanager/App.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/appmanager/App.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/appmanager/App.java	2013-10-13 09:06:48 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/appmanager/App.java	2013-12-03 07:53:58 +0000
@@ -95,7 +95,7 @@
     {
         if ( baseUrl != null && folderName != null && launchPath != null )
         {
-            return baseUrl + File.separator + folderName + File.separator + launchPath;
+            return baseUrl + "/" + folderName + "/"+ launchPath;
         }
         
         return null;