Re:S3: Plus sign is interpreted as space in the path part of...
by marindez on Wednesday October 04, 2017 @06:45AM
(#15399499)
It's reasonable they don't want to fix it because it will break existing URLs. Welcome to the ugly world of back compatibility.
[ Parent
| on HN ]
Re:S3: Plus sign is interpreted as space in the path part of...
by Liquid_Fire on Wednesday October 04, 2017 @06:56AM
(#15399558)
They could make it configurable on a per bucket basis (perhaps defaulting to the old behaviour if necessary; ideally you would make the conformant behaviour the default, of course).
That way you could opt in to the standard conformant behaviour if you require it, but they can still keep backward compatibility.
Re:S3: Plus sign is interpreted as space in the path part of...
by majewsky on Wednesday October 04, 2017 @07:03AM
(#15399591)
I'm not familiar with how S3 works in detail, but I imagine this could require additional API calls in the backend which increases the latency and resource usage of API requests. In the worst case, such a change could easily require Amazon to purchase dozens, if not hundreds of additional servers.
Re:S3: Plus sign is interpreted as space in the path part of...
by acranox on Wednesday October 04, 2017 @07:08AM
(#15399615)
With the rate of AWS growth, they probably bought dozens more servers in the time it took you to write out your response. :)
Re:S3: Plus sign is interpreted as space in the path part of...
by majewsky on Wednesday October 04, 2017 @08:33AM
(#15399972)
Likely, but Amazon didn't get where they are by ignoring small costs.
Re:S3: Plus sign is interpreted as space in the path part of...
by lallysingh on Wednesday October 04, 2017 @07:19AM
(#15399662)
Or use a different domain for the same buckets, and resolve the name correctly on this new domain.
Re:S3: Plus sign is interpreted as space in the path part of...
by Coding_Cat on Wednesday October 04, 2017 @07:03AM
(#15399590)
They could compromise by adding a few more lines of code and having '+' resolve to ' ' if and only if the file can't be found with '+', or vice versa.
Immidiatly mark this behaviour as deprecated and switch over to proper '+' == '+' behaviour later.
edit: LiquidFire's idea is better.