Commit af720d5
committed
Ignore CRC32 icon ID collisions in uploadIcon and uploadIconDirect
If a query attempts to upload an icon that already exists on the server,
the query should ignore the "file already exists" error and return the
icon ID as if the upload had succeeded.
The chance of an actual CRC32 collision, where two different icons are
mapped to the same icon ID, is so tiny that we may as well ignore it.1 parent 1861530 commit af720d5
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5132 | 5132 | | |
5133 | 5133 | | |
5134 | 5134 | | |
5135 | | - | |
| 5135 | + | |
5136 | 5136 | | |
5137 | 5137 | | |
5138 | 5138 | | |
| |||
0 commit comments