Skip to content
New issue

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

fix md5 authentication, remove guava deps #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sjamesr
Copy link
Owner

@sjamesr sjamesr commented Jan 2, 2020

Previously, the code looking for $MD5$ preambles would always return
false, as the '$' characters were quoted as if they were being passed to
a regexp library. Splitter.on() did not take a regex, so this pattern
never matched.

@coveralls
Copy link

coveralls commented Jan 2, 2020

Pull Request Test Coverage Report for Build 405

  • 7 of 7 (100.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.9%) to 83.578%

Files with Coverage Reduction New Missed Lines %
src/main/java/au/com/southsky/jfreesane/SaneSession.java 1 83.22%
Totals Coverage Status
Change from base Build 403: 0.9%
Covered Lines: 1934
Relevant Lines: 2314

💛 - Coveralls

@sjamesr
Copy link
Owner Author

sjamesr commented Jan 2, 2020

This change is probably OK, but authentication is broken on Ubuntu for unrelated reasons, see https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1858051

Previously, the code looking for $MD5$ preambles would always return
false, as the '$' characters were quoted as if they were being passed to
a regexp library. Splitter.on() did not take a regex, so this pattern
never matched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants