You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In newer versions of Altair, I cannot paste values with a trailing newline into the value field of the Headers popup anymore. When pressing Ctrl+V, nothing happens, no value is pasted.
Expected Behavior
I would expect that the value gets pasted. This worked before, in version 6.3.0 for example. Probably the newline should be trimmed off as I suppose it's an illegal character for HTML headers. But the pasting should simply work.
Btw: this is relevant because our team uses the Headers on all requests to add the Authorization header. The value, a bearer token, we copy from the Chrome Network tab. This simple "triple click the token, press Ctrl+C" action apparently includes a trailing newline. Screenshot:
Having the newline in the clipboard value didn't matter before (personally I still use 6.3.0), but it prevents pasting in newer versions.
Steps To Reproduce
Ctrl+C a value with a trailing newline (e.g.: a Bearer token copied from a request in the Chrome Network tab)
Open the Headers popup in Altair 7.3.6
Give the header a name (e.g. Authorization)
Try to paste the value into the header value field.
Environment
- OS: Windows 11
- Platform: Windows application
- Version: 7.3.6
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
In newer versions of Altair, I cannot paste values with a trailing newline into the value field of the Headers popup anymore. When pressing Ctrl+V, nothing happens, no value is pasted.
Expected Behavior
I would expect that the value gets pasted. This worked before, in version 6.3.0 for example. Probably the newline should be trimmed off as I suppose it's an illegal character for HTML headers. But the pasting should simply work.
Btw: this is relevant because our team uses the Headers on all requests to add the Authorization header. The value, a bearer token, we copy from the Chrome Network tab. This simple "triple click the token, press Ctrl+C" action apparently includes a trailing newline. Screenshot:

Having the newline in the clipboard value didn't matter before (personally I still use 6.3.0), but it prevents pasting in newer versions.
Steps To Reproduce
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: