File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 77 <description >
88 <![CDATA[ Files sharing use file stored path. Now you cau use nextcloud as your CDN origin.
99 What you need to do is just share your files, then click Open Sharing Path to access from files dropdown actions menu. ]]> </description >
10- <version >0.2.4 </version >
10+ <version >0.2.5 </version >
1111 <licence >agpl</licence >
1212 <
author mail =
" [email protected] " >Rookie0</
author >
1313 <namespace >SharingPath</namespace >
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ $(document).ready(function () {
1414 // return;
1515 // }
1616
17- let path = OC . getProtocol ( ) + '://' + OC . getHost ( ) + OC . generateUrl ( '/apps/sharingpath/' +
18- OC . getCurrentUser ( ) . uid + ( context . dir === '/' ? '' : context . dir ) + '/' + filename ) ;
17+ let path = encodeURI ( OC . getProtocol ( ) + '://' + OC . getHost ( ) + OC . generateUrl ( '/apps/sharingpath/' +
18+ OC . getCurrentUser ( ) . uid + ( context . dir === '/' ? '' : context . dir ) + '/' + filename ) ) ;
1919
2020 let dummyPath = document . createElement ( 'textarea' ) ;
2121 dummyPath . value = path ;
You can’t perform that action at this time.
0 commit comments