Skip to content

Conversation

@megoth
Copy link
Contributor

@megoth megoth commented Aug 14, 2019

The handling of ACL for root failed because the URI to PUT the file to contained an extra slash (e.g. https://test.com//foo.txt instead of https://test.com/foo.txt). This was an error that also happens when trying to upload files elsewhere, but it was allowed then.

This should fix SolidOS/solid-panes#143

@megoth megoth requested review from Vinnl and timbl August 14, 2019 13:25
Copy link
Contributor

@Vinnl Vinnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks to be a reasonable fix. .endsWith is not supported in IE, but since solid-ui uses Babel and since the data browser doesn't support IE anyway, I presume that's fine?

Good detective work!

@megoth
Copy link
Contributor Author

megoth commented Aug 14, 2019

Let's discuss the IE-thing on the upcoming standup. We need to document this somewhere as well.

Copy link
Contributor

@timbl timbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me .. good catch

@megoth megoth merged commit df48575 into master Aug 15, 2019
@megoth megoth deleted the allow-drag-drop-on-root branch August 15, 2019 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow files to be added to root via Your files

4 participants