Skip to content

Commit

Permalink
BUGFIX: Typecast PageTS Crawler Configuration force_ssl to int (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasnorre authored Oct 10, 2024
1 parent bee4ff8 commit 0b137a0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/BackwardCompatibilityCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ jobs:
# To ensure compability with the roave tool.
composer remove --dev nimut/typo3-complete nimut/testing-framework rector/rector symplify/easy-coding-standard typo3/testing-framework
rm -rf .Build composer.lock
composer require --dev roave/backward-compatibility-check:"6.0.x-dev"
.Build/bin/roave-backward-compatibility-check
composer require --dev roave/backward-compatibility-check:"^6.4"
.Build/bin/roave-backward-compatibility-check --from=11.0.0
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Fixed
* Fixed query building when using _ADDTABLE parameter [@hawkeye1909](https://github.com/hawkeye1909)
* Typecast PageTS Crawler Configuration `force_ssl` to `int`

### Deprecated

Expand Down
2 changes: 1 addition & 1 deletion Classes/Controller/CrawlerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function urlListFromUrlArray(
$pageId,
$urlQuery,
$vv['subCfg']['baseUrl'] ?? null,
$vv['subCfg']['force_ssl'] ?? 0
(int) ($vv['subCfg']['force_ssl'] ?? 0)
);

if (! $url instanceof UriInterface) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,20 @@ Page TSconfig Reference (tx\_crawler.crawlerCfg)
List of Page Ids to limit this configuration to


.. container:: table-row

Property
.. _crawler-tsconfig-paramSets-key-force_ssl:

paramSets.[key].force_ssl

Data type
integer

Description
Whether https should be inforced or not. 0 = false (default), 1 = true.


.. container:: table-row

Property
Expand Down Expand Up @@ -183,5 +197,6 @@ Example
procInstrFilter = tx_indexedsearch_reindex
pidsOnly = 1,5,13,55
userGroups = 1
force_ssl = 1
}

0 comments on commit 0b137a0

Please sign in to comment.