Comments (13)
Corrected that.
from flysystem-rackspace.
@PatrickRose this should probably be handled within the adapter.
from flysystem-rackspace.
@PatrickRose which kind of url encoding do they require here? urlencode or rawurlencode? Do you have the link to the docs?
from flysystem-rackspace.
I'm using rawurlencode
(though I can't remember why offhand) Docs have a notice here
from flysystem-rackspace.
@PatrickRose the docs say we should be using urlencode
, I'll use that for all the segments, commit incoming.
from flysystem-rackspace.
Ahh, I remember why. Guzzle under the hood replaces ' '
with '%20'
. We spotted this after we'd been using it for a while so we needed to keep the filenames the same. Would it be possible to use rawurlencode
?
from flysystem-rackspace.
@PatrickRose does it matter that it does it? because urlencode replaces it with +
so Guzzle can't replace it anymore.
from flysystem-rackspace.
It's a definite BC break, because previously $filesystem->exists('some file')
would return true, and with urlencode
it wouldn't.
from flysystem-rackspace.
ah, so it actually SHOULD be rawurlencode.
from flysystem-rackspace.
I think there's a minor BC break as part of this, so not sure how you want to handle it (I believe it's cases like $filesystem->put('some#file')
actually wrote to 'some'
)
from flysystem-rackspace.
@PatrickRose ~_^
from flysystem-rackspace.
Sorry <3
I think it's okay - it's rare that people have those in their file names, which was something I had to deal with because users.
from flysystem-rackspace.
from flysystem-rackspace.
Related Issues (19)
- How to use the snet endpoint? HOT 1
- V2 of the OpenCloud API HOT 16
- readStream() returns empty string HOT 4
- Creating directories HOT 5
- Deleting Files HOT 1
- Instance of Closure given HOT 7
- readStream needs to be rewound before using HOT 5
- Get object URL HOT 4
- Can I use this package for softlayer object storage ?
- cloudvps
- Expired tokens in long running tasks HOT 2
- Package guzzle/guzzle is abandoned HOT 3
- Infer Content-Type
- Is it alive? HOT 1
- Seems not to work with PHP8 - Guzzle issue?
- Rackspace has issued a new certificate and this is broken on PHP7
- Large Uploads HOT 1
- PHP Warning: fclose(): xx is not a valid stream resource HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flysystem-rackspace.