Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Cookies #24297
Cookies #24297
Comments
|
Malformed cookie file. Cookie value is not allowed to contain spaces. |
|
Cookie file worked with the previous version of Youtube-DL. The new version doesn't accept the cookie file. If the file isn't supposed to include spaces, why does the recommended tool allow/inject spaces? |
|
Current RFC 6265 clearly disallows spaces inside cookie values. BUT the current RFC says to ignore bad cookie values, not break the software when an error is encountered. This is CS101 error-handling. |
Checklist
Verbose log
Description
The latest version appears to have introduced an issue affecting cookies processing. Out of my 3000+ item cookies file, (8) items/lines caused an identical failure similar to what is pasted in the log above. As a test, I went through my cookies file and removed each offending line until it ran clean again. These were the offending lines (with confidential info redacted):