### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

When trying to create a folder with special characters ( e.g. a@a ) S3 will return 404 (NoSuchKey)  error.
what is interesting that the folder will actually be created eventually

` <ListBucketResult>
<IsTruncated>false</IsTruncated>
<Marker/>
<Contents>
<Key>a@a/</Key>
<LastModified>2023-04-20T12:05:04Z</LastModified>
<ETag>"d41d8cd98f00b204e9800998ecf8427e"</ETag>
<Size>0</Size>
<StorageClass>STANDARD</StorageClass>
<Owner>
<DisplayName>webfile</DisplayName>
<ID>
75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a
</ID>
</Owner>
</Contents>`

### Expected Behavior

S3 PutObject command shall return 200 instead of 404

### How are you starting LocalStack?

With the `localstack` script

### Steps To Reproduce

#### How are you starting localstack (e.g., `bin/localstack` command, arguments, or `docker-compose.yml`)

    localstack start

#### Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

    import boto3
    from localstack_client.patch import enable_local_endpoints
    enable_local_endpoints()
    s3 = boto3.client("s3")
    buckets = s3.list_buckets()
    print(s3.put_object(Bucket='my-test-bucket', Key=('a@a/')))
    print(buckets)

#### Command output
>Traceback (most recent call last):
  File "/tmp/test.py", line 7, in <module>
    print(s3.put_object(Bucket='my-test-bucket', Key=('aaabbg%40derr/')))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rmagdy/.local/lib/python3.11/site-packages/botocore/client.py", line 530, in _api_call
    return self._make_api_call(operation_name, kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rmagdy/.local/lib/python3.11/site-packages/botocore/client.py", line 960, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.errorfactory.NoSuchKey: An error occurred (NoSuchKey) when calling the PutObject operation: The specified key does not exist.

### Environment

```markdown
- OS: CentOS 7
- LocalStack: 2.0.3.dev
```


### Anything else?

_No response_
data = "1234567890 " * 100
        
        upload_file_ = BytesIO()
        mtime = 1676569620  # hard
        with gzip.GzipFile(fileobj=upload_file_, mode="w", mtime=mtime) as filestream:
            filestream.write(data.encode("utf-8"))
        # Up
        response = aws_client.s3.put_(
            Bucket=s3_bucket,
            Key="test.gz",
            ContentEncoding="gzip",
            Body=upload_file_.getvalue(),
        )
        snapshot.match("put-", response)
        # Down
        downloaded_ = aws_client.s3.get_(Bucket=s3_bucket, Key="test.gz")
        snapshot.match("get-", downloaded_)
        download_file_ = BytesIO(downloaded_["Body"].read())
        with gzip.GzipFile(fileobj=download_file_, mode="rb") as filestream:
            downloaded_data = filestream.read().decode("utf-8")
        assert downloaded_data == data
    @pytest.mark.aws_validated
    @pytest.mark.skip_snapshot_verify(condition=is_old_provider, paths=["$..VersionId"])
    def test_multipart_copy__etag(self, s3_bucket, s3_multipart_upload, snapshot, aws_client):