mirror of
https://github.com/curl/curl.git
synced 2026-08-26 02:03:32 +03:00
protcol.h: fix the CURLPROTO_MASK
It had an 'f' too few. Also provide CURLPROTO_WS* unconditionally
internally, so that code can depend on them in all builds.
Follow-up to cd5ca80f00
Spotted by Codex Security
Test case 3219 added to catch this next time.
Closes #21031
This commit is contained in:
parent
07c10f09a5
commit
f2ba8f0613
5 changed files with 68 additions and 11 deletions
19
tests/data/test3219
Normal file
19
tests/data/test3219
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="US-ASCII"?>
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
unittest
|
||||
define
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
<client>
|
||||
<features>
|
||||
unittest
|
||||
</features>
|
||||
<name>
|
||||
CURLPROTO_MASK checks
|
||||
</name>
|
||||
</client>
|
||||
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue