Skip to content

Incorrect SCRIPT_NAME with apache ProxyPassMatch when a plus '+' is in path #12996

Closed

Description

@mrAceT

Description

do you remember:
#10869

I copied the title.. and replaced the 'space' with a 'plus' ( + ).

I had the same naging problem in my NextCloud instance when spaces were in file names the whole darn thing went the way of the dino..

And I thought of a "Q&D" way to get around that bug.. which turned out to NOT be a NextCloud bug, but a PHP 8.1 bug..

After updating PHP to 8.1.18 my "Q&D fix" wasn't needed anymore and I removed that piece of code..

If only I kept it in.. as it turns out an other (less often occurring) bug became more and more irritating.. the 'plus sign'

I have searched in all kinds of directions.. never thinking of the "space bug".. but there was the solution (one I wrote myself..)

Long story short: could you implement a "version 2" fix of the "space bug" for the "plus bug" ?

ref: nextcloud/server#40943

PHP Version

PHP 8.1.27

Operating System

AlmaLinux 8.9 (Midnight Oncilla)

Activity

  1. bukka commented on Jan 4, 2024

    @bukka
    Member

    Fix in #13072

  2. added a commit that references this issue on Jan 11, 2024
    b04b09e
  3. mrAceT commented on Mar 14, 2024

    @mrAceT
    Author

    For those who find this page.. it is fixed in PHP 8.2

    If you are running al lower version (that includes ALL PHP 8.1 (and lower?) versions..) Then you will still need my Q&D fix..

    I just found that out after my latest update to NextCloud 27.1.x ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions