Skip to content

Commit

Permalink
Fix: Article
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Feb 14, 2021
1 parent 09e16fb commit 4f270f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion HeaderUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public static function unquote(string $s): string
}

/**
* Generates a HTTP Content-Disposition field-value.
* Generates an HTTP Content-Disposition field-value.
*
* @param string $disposition One of "inline" or "attachment"
* @param string $filename A unicode string
Expand Down
2 changes: 1 addition & 1 deletion Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ public function getAcceptableContentTypes()
}

/**
* Returns true if the request is a XMLHttpRequest.
* Returns true if the request is an XMLHttpRequest.
*
* It works if your JavaScript library sets an X-Requested-With HTTP header.
* It is known to work with common JavaScript frameworks:
Expand Down
2 changes: 1 addition & 1 deletion Tests/RequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ public function getQueryStringNormalizationData()
['bar=&foo=bar', 'bar=&foo=bar', '->works with empty parameters'],
['foo=bar&bar=', 'bar=&foo=bar', 'sorts keys alphabetically'],

// GET parameters, that are submitted from a HTML form, encode spaces as "+" by default (as defined in enctype application/x-www-form-urlencoded).
// GET parameters, that are submitted from an HTML form, encode spaces as "+" by default (as defined in enctype application/x-www-form-urlencoded).
// PHP also converts "+" to spaces when filling the global _GET or when using the function parse_str.
['baz=Foo%20Baz&bar=Foo+Bar', 'bar=Foo%20Bar&baz=Foo%20Baz', 'normalizes spaces in both encodings "%20" and "+"'],

Expand Down

0 comments on commit 4f270f1

Please sign in to comment.