application
application copied to clipboard
Joomla Framework Application Package
Pull Request for Issue [#43333](https://github.com/joomla/joomla-cms/issues/43334) ### Summary of Changes ### Testing Instructions ### Documentation Changes Required
Pull Request for Issue https://github.com/joomla/joomla-cms/issues/42859 ### Summary of Changes Adding a check if `SCRIPT_NAME` starts with a / or if `$uri` ends with a / If both checks are false...
Pull Request for Issue # ### Summary of Changes backport of #121 ### Testing Instructions ### Documentation Changes Required
### Steps to reproduce the issue Copied from https://github.com/joomla/joomla-cms/issues/39960 ### Expected result No warnings ### Actual result Warnings when userAgent is null ### System information (as much as possible) ###...
Re-opens https://github.com/joomla-framework/application/pull/109 which was merged in error Improves error handling in cases such as https://github.com/joomla/joomla-cms/pull/38524 where we boot a web application from the cli. Clearly in this case we shouldn't...
The setHeader() method causes the last header set to always be output even if $replace is set to false. ### Summary of Changes Incorrect use of $replace causes the last...
### Summary of Changes This moves the configuration of drone to the drone template `framework-2.0.jsonnet` and adds the configuration for phpstan and phan to the repo. In the longterm, this...
### Steps to reproduce the issue - See https://github.com/joomla/joomla-cms/issues/39637 ### Expected result - User agent "Chrome Privacy Preserving Prefetch Proxy" is ignored by `elseif()`. https://github.com/joomla-framework/application/blob/2.0.2/src/Web/WebClient.php#L436 - No PHP warning. ###...
I propose to separate WebClient class into an independent package. The class has browser dection functions which are not available in laravel or symfony. So it should be available for...
stripos can not take a null value as an argument in PHP 8.1+ `Deprecated: strpos(): Passing null to parameter #1 ($haystack)` ### Summary of Changes check $userAgent before use stripos()...