mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 17:49:15 +02:00
Fix nonce auth, dependency, incorrect wording and warnings previous commits
This commit is contained in:
parent
7425c6c405
commit
dd65b51cb5
7 changed files with 13 additions and 18 deletions
|
@ -39,7 +39,7 @@ pub fn header_nonce(response: &Response)
|
|||
.map_err(|_| NonceError::MalformedNonce)
|
||||
)?
|
||||
.split_terminator(' ')
|
||||
.nth(2)
|
||||
.nth(1)
|
||||
.ok_or(NonceError::MalformedNonce)?
|
||||
).map_err(|_| NonceError::MalformedNonce)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue