Use sprintf in "Untrusted Host" and "Invalid Host" exception
[BrowserKit] Fixed missing sprintf in InvalidArgumentException
merged branch pulzarraider/patch-1 (PR #8878)

This PR was merged into the master branch.

Discussion
----------

[HttpFoundation] [BrowserKit] Missing sprintf in exceptions

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

16d7ef1 [BrowserKit] Fixed missing sprintf in InvalidArgumentException
713f623 Use sprintf in "Untrusted Host" and "Invalid Host" exception
Replace sha1 and md5 hashing with sha256 algorithm
merged branch jfsimon/issue-8583 (PR #8609)

This PR was squashed before being merged into the master branch (closes #8609).

Discussion
----------

Replace sha1 and md5 hashing with sha256 algorithm

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #8583

Commits
-------

dd8014a Replace sha1 and md5 hashing with sha256 algorithm