Issue Bug Closed

#103111processor_stripColorProfileParameters splits up single value into multiple values

Stefan Wagler 02/13/24, 15:46 updated 06/10/25, 08:26

Description

When migrating from the previous “GFX / processor_stripColorProfileCommand” to the new “GFX / processor_stripColorProfileParameters” configuration, it no longer seems possible to use a value like “+profile ‘!iptc,‘” via the TYPO3 Install Tool.
When the actual value contains a comma, the Install Tool splits the otherwise single parameter “!iptc,
” into two parameters “!iptc” and “*”.

How is the intended usage to configure such parameters in the new “processor_stripColorProfileParameters” style?

Reviews 1

History 812

  1. Chris Müller changed subject processor_stripColorProfileParameters spits up single value into multiple values processor_stripColorProfileParameters splits up single value into multiple values <span data-processor="relativetime" data-value="2024-02-13T18:28:19+00:00" > 02/13/24, 18:28 </span>

  2. Markus Klein commented <span data-processor="relativetime" data-value="2024-02-14T15:04:48+00:00" > 02/14/24, 15:04 </span>

    First entry should be +profile second array entry should be !iptc,* in the new config.

    The parsing bug should be fixed.

  3. Markus Klein commented and changed target version <span data-processor="relativetime" data-value="2024-02-14T16:27:07+00:00" > 02/14/24, 16:27 </span>

    @s.wagler Can you please post here, how you configured ‘processor_stripColorProfileParameters’ exactly?

  4. Stefan Wagler commented <span data-processor="relativetime" data-value="2024-02-14T16:42:01+00:00" > 02/14/24, 16:42 </span>

    We use the following configuration entry in the “GFX” section of the “settings.php” file:
    ’processor_stripColorProfileCommand’ => ‘+profile \’!iptc,*\’‘,

    When using the Install Tool and set the following option for [processor_stripColorProfileParameters] ‘!iptc,*’

    the “settings.php” file contains the following entry:

    ‘processor_stripColorProfileParameters’ => [
    ‘+profile \’!iptc’,
    ‘*\’‘,
    ],

    Note the second parameter ‘!iptc,*’ exists partly in the first array entry as well as in the second entry.

  5. Markus Klein commented and changed status New Accepted <span data-processor="relativetime" data-value="2024-02-14T19:22:36+00:00" > 02/14/24, 19:22 </span>

    Thanks for the clarification.

    > When using the Install Tool and set the following option for “[GFX][processor_stripColorProfileParameters]”: +profile ‘!iptc,*’

    This is wrong. As documented for this setting (Comma separated list of parameters), you should enter +profile,"!iptc,*".

    Workaround: one should be able to fix this by manually changing the settings.php file.

    Regard the parsing bug: The Install Tool needs to cope with quoted parts in such comma-separated lists.

  6. Gerrit Code Review pushed patch set 1 for main to change 83003 status Accepted Under Review <span data-processor="relativetime" data-value="2024-02-14T19:35:09+00:00" > 02/14/24, 19:35 </span>

  7. Markus Klein commented and changed status New Closed <span data-processor="relativetime" data-value="2025-06-10T08:26:50+00:00" > 06/10/25, 08:26 </span>

    Fixed in v14 with new UI for such config, see #106553