We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestMechanizeParser#test_extract_filename_content_disposition: NoMethodError: undefined method `last' for nil:NilClass /Users/novoi/tmp/mechanize/lib/mechanize/parser.rb:129:in `extract_filename' /Users/novoi/tmp/mechanize/test/test_mechanize_parser.rb:37:in `test_extract_filename_content_disposition'
it happens here:
filename = content_disposition.filename filename = filename.rpartition(/[\\\/]/).last handled = true
If filename doesn't match the rpatition regexptit returns nil instead of ["", "", original_str]
The text was updated successfully, but these errors were encountered:
gogainda
Successfully merging a pull request may close this issue.
it happens here:
If filename doesn't match the rpatition regexptit returns nil instead of ["", "", original_str]
The text was updated successfully, but these errors were encountered: