You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, I finally got hit by this bug a year later. It also affects any filename with a % in it, which it turns out certain disreputable browsers use to save images, e.g. "my%20face.jpg". It seems like a rather critical issue.
@benallfree Do you still intend to refactor #150 or would you like me to do it? I actually already did it for my own project, but I had to make my own url() method that manually creates an instance of a URLEncodingInterpolator and sets it on the Attachment instance. It would be great if this was built-in.
Activity
kyranb commentedon Jan 2, 2016
👍 Just ran into this issue in production
benallfree commentedon Jan 8, 2016
Fixed in #150
hackel commentedon Mar 8, 2017
Well, I finally got hit by this bug a year later. It also affects any filename with a % in it, which it turns out certain disreputable browsers use to save images, e.g. "my%20face.jpg". It seems like a rather critical issue.
@benallfree Do you still intend to refactor #150 or would you like me to do it? I actually already did it for my own project, but I had to make my own
url()method that manually creates an instance of a URLEncodingInterpolator and sets it on the Attachment instance. It would be great if this was built-in.benallfree commentedon Mar 8, 2017
I believe #167 fixes this whole issue because filesystem names are no longer based on the URL name.