On Sun, Jun 11, 2023 at 01:56:21AM -0400, Sergio Durigan Junior wrote:
> On Saturday, June 10 2023, Samuel Henrique wrote:
> 
> > Hello,
> >
> > I'm not able to reproduce the issue on Bookworm with a HTTP2 localhost
> > apache server.
> [...]
> 
> Hey,
> 
> I was able to find another URL that triggers the same issue.  This one:
> 
>   
> https://chinarising.puntopress.com/wp-content/uploads/2023/04/Press-TV-KSA-Iran.mp3

OK so I tried reproducing it by installing WP on localhost (actually
behind LXD container). The container is Debian bookworm (with
deb.sury.org repo added).

apache2 site configuration (`/etc/apache2/sites-enabled/test.conf`) is:

```
<VirtualHost *:80>
        ServerName      test.test
        ServerAdmin     webmas...@test.test
        DocumentRoot    /srv/www/test.test

        Redirect        301     /       https://wp.bagas.me
</VirtualHost>

<IfModule ssl_module>
<VirtualHost *:443>
        ServerName      test.test
        ServerAdmin     webmas...@test.test
        DocumentRoot    /srv/www/test.test
        DirectoryIndex  index.php index.html

        Protocols       h2 http/1.1

        <logging stuff goes here>...

        <ssl stuff goes here>...

        <Directory /srv/www/test.test>
                AllowOverride   all
                Require         all     granted
                <FilesMatch ".+\.ph(?:ar|p|tml)$">
                        SetHandler 
"proxy:unix:/run/php/php8.2-fpm.sock|fcgi://localhost"
                </FilesMatch>
        </Directory>
</VirtualHost>
</IfModule>
```

(requires mod_proxy and mod_proxy_fcgi for apache2 and php8.2-fpm package).

WP configuration is pretty standard and it's rather fresh install
(see the web for WP installation procedures).

Log in to WP dashboard and upload random .mp3 files. Once uploaded, click
`Copy URL to clipboard` besides the uploaded file and feed it to curl.

In summary, I can't reproduce this bug either with above setup.

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

Attachment: signature.asc
Description: PGP signature

Reply via email to