mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
[network] Improve checks while parsing MIME parameters.
This commit is contained in:
parent
af613ef24e
commit
c9d9616334
4 changed files with 67 additions and 24 deletions
|
|
@ -29,13 +29,14 @@ private:
|
|||
char **aLang,
|
||||
nsAString& aResult);
|
||||
|
||||
nsresult DoParameterInternal(const char *aHeaderValue,
|
||||
const char *aParamName,
|
||||
nsresult DoParameterInternal(const nsACString& aHeaderValue,
|
||||
const char* aParamName,
|
||||
ParamDecoding aDecoding,
|
||||
char **aCharset,
|
||||
char **aLang,
|
||||
char **aResult);
|
||||
|
||||
char** aCharset,
|
||||
char** aLang,
|
||||
char** aResult);
|
||||
|
||||
static bool ContainsTrailingCharPastNull(const nsACString& aVal);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue