diff options
author | Theodore R. Smith <theodore@phpexperts.pro> | 2020-12-27 09:13:11 -0600 |
---|---|---|
committer | Theodore R. Smith <theodore@phpexperts.pro> | 2020-12-27 14:29:54 -0600 |
commit | 8e76aa1d75aebdadd0451d2e57c9bb65d1e75b9a (patch) | |
tree | 3b9809e75c8e8f9044080182801f4516a11fe242 /SECURITY.md | |
parent | f88453e2335ec9140df927d3cca727d2a3a4ab70 (diff) | |
download | PeerTube-8e76aa1d75aebdadd0451d2e57c9bb65d1e75b9a.tar.gz PeerTube-8e76aa1d75aebdadd0451d2e57c9bb65d1e75b9a.tar.zst PeerTube-8e76aa1d75aebdadd0451d2e57c9bb65d1e75b9a.zip |
(#3520) [cli] Hardened `auth add`: No longer fails with extraneous characters.
**The Solution:**
I have hardened `auth add` by stripping out everything from the third '/' to the end of the instance URL.
**The Problem:**
When adding an authorization for the peertube-cli, before this commit you could not have anything after the domain_name:port.
For instance, if there was a trailing / in your instance URL, before this commit it will always fail with
expected 200 "OK", got 404 "Not Found".
It took me over 20 minutes to figure out that this was the problem.
See Issue #3091.
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions