Commit 6ae13cf
committed
bug #64458 [Webhook] Fix Content-Type key in createRequest method (MarijnDoeve)
This PR was merged into the 6.4 branch.
Discussion
----------
[Webhook] Fix Content-Type key in createRequest method
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
The default behaviour of the abstract test sets the content-type wrong. It will default to a `application/x-www-form-urlencoded` when not set in full caps.
<!--
🛠️ Replace this text with a concise explanation of your change:
- What it does and why it's needed
- A simple example of how it works (include PHP, YAML, etc.)
- If it modifies existing behavior, include a before/after comparison
Contributor guidelines:
- ✅ Add tests and ensure they pass
- 🐞 Bug fixes must target the **lowest maintained** branch where they apply
https://symfony.com/releases#maintained-symfony-branches
- ✨ New features and deprecations must target the **feature** branch
and must add an entry to the changelog file of the patched component:
https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
- 🔒 Do not break backward compatibility:
https://symfony.com/bc
-->
Commits
-------
d3aacea Fix Content-Type key in createRequest method1 file changed
+1-1Lines changed: 1 addition & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/Symfony/Component/Webhook/Test
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/Symfony/Component/Webhook/Test/AbstractRequestParserTestCase.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Webhook/Test/AbstractRequestParserTestCase.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
58 | 58 | |
59 | 59 | |
60 | 60 | |
61 | | - |
| 61 | + |
62 | 62 | |
63 | 63 | |
64 | 64 | |
|
0 commit comments