Skip to content

Commit

Permalink
Merge pull request #3274 from owncloud/bugfix/etag
Browse files Browse the repository at this point in the history
Do not remove first char in etag
  • Loading branch information
DeepDiver1975 committed Mar 27, 2020
2 parents 52d15d3 + 1ecc22d commit 9113798
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/components/FileItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default {
if (this.item.etag) {
// add etag for URL based caching
// strip double quotes from etag
query.c = this.item.etag.substr(2, this.item.etag.length - 2)
query.c = this.item.etag.substr(1, this.item.etag.length - 2)
}
let itemPath = this.item.path
Expand Down
6 changes: 6 additions & 0 deletions changelog/unreleased/3274
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Do not remove first character of etag

When stripping away double quotes in etag of the file thumbnails, we accidentally
removed first character as well. We've stopped removing that character.

https://github.com/owncloud/phoenix/pull/3274

0 comments on commit 9113798

Please sign in to comment.