mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
[PR #77] [MERGED] Use padding for Basic auth #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/77
Author: @mpk
Created: 9/11/2024
Status: ✅ Merged
Merged: 9/12/2024
Merged by: @gschier
Base:
master← Head:master📝 Commits (1)
5b2f623Use padding for Basic auth📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src-tauri/src/http_request.rs(+1 -1)📄 Description
Hi,
while trying Yaak, I have noticed that some requests using
Basicauth does not work with the API I'm using. After debugging, I have found out that Yaak currently sends base64-encodedAuthorizationheader without padding, which some APIs strictly require.This change enables the padding for
Basicauth, which aligns it with Insomnia (and Node.js "base64" encoding).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.