nextcloud/apps/files_external/lib
Christopher T. Johnson 599ab7a802 Fix Signiture Does Not Match when mounting Amazon S3 external storage
For some reason the aws-sdk-php package does not caclulate the
signiture correctly when accessing an object in a bucket with a name of
'.'.

When we are at the top of a S3 bucket there is a need(?) to have a directory
name.  Per standard Unix the name picked was '.' (dot or period).  This
choice exercises the aws-sdk bug.

This fix is to add a field to the method to store the name to use instead of
'.' which at this point is hard coded to '<root>'.  We also add a private
function 'cleanKey()' which will test for the '.' name and replace it with
the variable.  Finally all calls to manipulate objects where the path is
not obviously not '.' are processed through cleanKey().

An example where we don't process through clean key would be
	'Key' => $path.'/',

Use correct relationship operator

Per feed back use === instead of ==

use '/' instead of '<root>'
2014-07-08 10:16:48 +02:00
..
amazons3.php Fix Signiture Does Not Match when mounting Amazon S3 external storage 2014-07-08 10:16:48 +02:00
api.php Use filtered list for ext storage list mounts API 2014-06-30 12:33:11 +02:00
config.php Fix warnings when personal is not set 2014-07-01 13:32:57 +02:00
dropbox.php Changed access mode for Dropbox to 'auto' 2014-05-21 09:40:03 +02:00
ftp.php Fix more missing or broken PHPDoc 2014-05-16 22:21:57 +01:00
google.php Moved dependency checks to end of class files 2014-04-03 16:46:22 +02:00
owncloud.php Added ownCloud backend for external storage 2013-10-09 17:30:22 +02:00
personalmount.php Fix the removeMount for personal mounts 2014-06-06 09:55:59 +02:00
sftp.php use phpseclib from 3rdparty 2014-06-03 12:18:30 +02:00
smb.php Fix more missing or broken PHPDoc 2014-05-16 22:21:57 +01:00
smb_oc.php Use braces on single line if statements 2014-03-26 15:11:09 +00:00
streamwrapper.php Scrutinizer Auto-Fixes 2014-02-19 09:31:54 +01:00
swift.php update files_external swift to php-opencloud v1.9.2 2014-06-25 17:15:59 +02:00