We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a848376 commit c63dc65Copy full SHA for c63dc65
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "noobaa-core",
3
- "version": "2.6.2",
+ "version": "2.6.3",
4
"private": true,
5
"license": "SEE LICENSE IN LICENSE",
6
"description": "",
src/endpoint/s3/s3_rest.js
@@ -222,6 +222,7 @@ function parse_op_name(req) {
222
223
// see http://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html
224
const is_path_style = !host ||
225
+ !virtual_host_suffix || // added case for when no DNS name is defined - if we work with IP always using path-style
226
virtual_host_suffix === '.' + host ||
227
net.isIP(host) ||
228
host === 'localhost'; // we added this case on top of the S3 doc cases to handle requests with IP host
0 commit comments