Closed wbazant closed 5 days ago
Thanks for catching this!
The reason for this issue was a bug in the horrific house of cards that makes it possible for this new website to support multiple photos per review while still using the same database as the old website. The fix was to replace the deprecated S3 "path-style" URLs generated by a database trigger with virtual-hosted-style URLs. See https://github.com/falling-fruit/falling-fruit/commit/765047d5ab6610c0cdf85ffef42997fdf89d1770.
Found during testing something else. I wanted to change the number of stars in a review with a photo, and got served a red toast. Doing the same to another review without the photo works fine.
Request copied as cURL:
Error received back: