Skip to content

[Bug]: Loginflow v1 broken on master #51618

@SystemKeeper

Description

@SystemKeeper

⚠️ This issue respects the following points: ⚠️

Bug description

13fe0f561245536be6ce440d5d62316150cc9f19 is the first bad commit
commit 13fe0f561245536be6ce440d5d62316150cc9f19
Author: Côme Chilliet <come.chilliet@nextcloud.com>
Date:   Tue Mar 11 11:31:59 2025 +0100

    fix: Clean up typing and remove deprecated calls in template functions
    
    Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>

 lib/private/Template/functions.php | 62 +++++++++++++++++++++-----------------
 1 file changed, 35 insertions(+), 27 deletions(-)

13fe0f5

Issue comes from here for login flow v1:

<input type="hidden" name="oauthState" value="<?php p($_['oauthState']) ?>" />

So the new type annotation at

function p(string $string): void {

Is the problem.

Same issue also happens when opening the server info app (and maybe other apps as well).

CC @come-nc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions