Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #44875 Email confirmation page should not crash when no parameter is provided
    Infos
    #44875
    Thomas Gerbet (tgerbet)
    2025-10-01 15:17
    2025-10-01 08:13
    46639
    Details
    Email confirmation page should not crash when no parameter is provided

    Calling GET /account/confirm-new-email should not result in a crash.

    Trace:

    Fatal error: Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, false given in /usr/share/tuleap/src/common/User/Account/ConfirmNewEmailController.php:74
    Stack trace:
    #0 /usr/share/tuleap/src/common/User/Account/ConfirmNewEmailController.php(74): hash_equals()
    #1 /usr/share/tuleap/src/common/Request/FrontRouter.php(251): Tuleap\User\Account\ConfirmNewEmailController->process()
    #2 /usr/share/tuleap/src/common/Request/FrontRouter.php(98): Tuleap\Request\FrontRouter->routeHandler()
    #3 /usr/share/tuleap/src/www/index.php(50): Tuleap\Request\FrontRouter->route()
    #4 {main} thrown in /usr/share/tuleap/src/common/User/Account/ConfirmNewEmailController.php on line 74
    
    Other
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2025-10-01
    Attachments
    Empty
    References
    Referenced by request #44875

    Follow-ups