Closed srikanthccv closed 2 years ago
If value is utf-8 URL encoded, isn't it redundant to say that parsers must not assume there are more than one equal sign?
It doesn't say parsers must not assume there is more than one equal sign. It says they must not assume there is only one equal sign. In any case, yes that is technically redundant. It is simply a warning that the naive parse like this will not work:
const parts = header.split(',');
const entries = parts.map(e => e.split('=')); // this is broken because values may contain `=`
Baggage value difinition
If value is utf-8 URL encoded, isn't it redundant to say that parsers must not assume there are more than one equal sign?