Encountered an issue where the URI was returning header with content-disposition where the filename value wasn't enclosed in the double quotes. Turns out that this is a valid grammar according to RFC6266. Also made the logic more robust to account for spaces and uppercase letters.
Name |
Last commit
|
Last Update |
---|---|---|
.github | Loading commit data... | |
features | Loading commit data... | |
gemfiles | Loading commit data... | |
lib | Loading commit data... | |
shoulda_macros | Loading commit data... | |
spec | Loading commit data... | |
.codeclimate.yml | Loading commit data... | |
.gitignore | Loading commit data... | |
.hound.yml | Loading commit data... | |
.rubocop.yml | Loading commit data... | |
.travis.yml | Loading commit data... | |
Appraisals | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
Gemfile | Loading commit data... | |
LICENSE | Loading commit data... | |
MIGRATING-ES.md | Loading commit data... | |
MIGRATING.md | Loading commit data... | |
NEWS | Loading commit data... | |
README.md | Loading commit data... | |
RELEASING.md | Loading commit data... | |
Rakefile | Loading commit data... | |
UPGRADING | Loading commit data... | |
paperclip.gemspec | Loading commit data... |