feat: product search on TYPO3 13
Search page (searchresult plugin), AJAX results and filter panel, the
mobile filter overlay, search links ("Alle anzeigen", menu icon) and
the /reiseauswahl/{name} landing redirects are back. The search bar in
the page header stays out (SearchbarController not ported); on detail
pages the menu icon links to the search page instead of toggling it.
- Extbase requests are immutable: withArgument() instead of
setArgument()
- StaticSearchParamsMiddleware runs after site resolution and before
page resolution (the old position is a cycle in v13); FilterService
copes with the missing TypoScript there, as TYPO3 10 did
- Search and filter forms are sent URL-encoded instead of multipart, so
production can keep rejecting multipart requests
- ski-wochenenden: websiteTitle from the old sys_template sitetitle
Compared with TYPO3 10 on the same data (249 cases: search pages with
all 41 preset filters, landing redirects, AJAX results and filter
panel, GET and POST): 186 identical, 63 with the same results in a
different order (PHP 8 sorts stably, ties came out in arbitrary order
on PHP 7.4). Processed image names differ by their configuration hash.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
18757781bb
commit
72465053cd
36 files changed
+1643
-79
No files matched your search
+2
-1
@@ -39,7 +39,8 @@ export default class extends Controller {
|
||||
filter() {
|
||||
this.load({
|
||||
method: 'POST',
|
||||
body: new FormData(this.formTarget)
|
||||
// URL-encoded, not multipart: production rejects multipart requests (CVE-2026-109618)
|
||||
body: new URLSearchParams(new FormData(this.formTarget))
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,8 @@ export default class extends Controller {
|
||||
filter() {
|
||||
this.load({
|
||||
method: 'POST',
|
||||
body: new FormData(this.formTarget)
|
||||
// URL-encoded, not multipart: production rejects multipart requests (CVE-2026-109618)
|
||||
body: new URLSearchParams(new FormData(this.formTarget))
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user