PeerTube/server/tests/cli
Theodore R. Smith 8e76aa1d75
(#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.
2020-12-27 14:29:54 -06:00
..
create-import-video-file-job.ts
create-transcoding-job.ts
index.ts
optimize-old-videos.ts Add live transcoding bit rate tests 2020-11-25 10:07:51 +01:00
peertube.ts (#3520) [cli] Hardened `auth add`: No longer fails with extraneous characters. 2020-12-27 14:29:54 -06:00
plugins.ts
prune-storage.ts replace numbers with typed http status codes (#3409) 2020-12-07 14:32:36 +01:00
reset-password.ts emit more specific status codes on video upload (#3423) 2020-12-08 21:16:10 +01:00
update-host.ts