Skip to content

Commit

Permalink
BUGFIX: Typecast PageTS Crawler Configuration force_ssl to int (#1095)
Browse files Browse the repository at this point in the history
Resolves #1000
  • Loading branch information
tomasnorre authored Oct 10, 2024
1 parent eedd9af commit 84ad9a2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

### Fixed
* Prevent exception `Truncated incorrect DECIMAL value` in `crawler:processQueue` [@xyng](https://github.com/xyng)
* 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 @@ -236,7 +236,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 @@ -135,6 +135,19 @@ Page TSconfig Reference (tx\_crawler.crawlerCfg)
Description
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

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

0 comments on commit 84ad9a2

Please sign in to comment.