Skip to content

Externalize tcpdf composer#1684

Draft
fiammybe wants to merge 36 commits into
ImpressCMS:developfrom
fiammybe:externalize-tcpdf-composer
Draft

Externalize tcpdf composer#1684
fiammybe wants to merge 36 commits into
ImpressCMS:developfrom
fiammybe:externalize-tcpdf-composer

Conversation

@fiammybe
Copy link
Copy Markdown
Member

This must be done after #1683. There is no use of this functionality in the core, so it is difficult to do a regression test.

fiammybe and others added 30 commits January 4, 2025 19:34
…omposer, but that is not yet implemented for HTMLPurifier
Co-authored-by: Raimondas Rimkevičius <github@mekdrop.name>
…unused dev dependencies, and clean up scripts
Use === to compare $entry against '.' and '..' to avoid type
coercion and ensure exact string matches.
Return success from copyRecursive and add a recursive flag to
getFileCount.
When validating vendor copies, verify autoload.php SHA-1 and compare
recursive file counts; remove partial copies and return a descriptive
error
if verification fails.
Apply coding-style cleanup (short array syntax, spacing,
brace placement, normalized quotes) and replace the legacy
SIMPLEPIE_LOCATOR_NONE with \SimplePie\SimplePie::LOCATOR_NONE.
Determine protocol from HTTPS, default HTTP_HOST to 'localhost' when
absent, and examine PHP_SELF, REQUEST_URI (path only), and SCRIPT_NAME
for the script path. Sanitize values with htmlentities and fall back to
an empty base if no path info is available.
Ensure multi_login is set and equals 1 before writing online.
Read $_SERVER['REMOTE_ADDR'] into a safe variable (default empty
string) to avoid undefined index notices.
Log when REMOTE_ADDR is empty to help identify environments where
it's absent (CLI, proxies, tests). Include uid and uname in the
error_log message for easier correlation.
@fiammybe fiammybe added this to the 2.1.0 milestone Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant