•  
      request #11846 Fatal error when accessing the Git repo list page with a char outside [A-z0-9-] as project name
    Infos
    #11846
    Thomas Gerbet (tgerbet)
    2018-07-19 10:43
    2018-07-18 12:16
    12463
    Details
    Fatal error when accessing the Git repo list page with a char outside [A-z0-9-] as project name
    The issue can not encountered in a "normal" usage but Tuleap should not crash because someone is playing with URLs.

    You can reproduce the issue by trying to access a page like https://tuleap.example.com/plugins/git/invalidproject%7B


    Trace:
    PHP Stack trace:
    PHP 1. {main}() /usr/share/tuleap/src/www/index.php:0
    PHP 2. Tuleap\Request\FrontRouter->route($request = *uninitialized*) /usr/share/tuleap/src/www/index.php:43
    PHP 3. GitPlugin->{closure:/usr/share/tuleap/plugins/git/include/gitPlugin.class.php:2530-2537}() /usr/share/tuleap/src/common/Request/FrontRouter.php:83
    PHP 4. GitPlugin->getChainOfRouters() /usr/share/tuleap/plugins/git/include/gitPlugin.class.php:2532
    PHP 5. GitPlugin->getGitController() /usr/share/tuleap/plugins/git/include/gitPlugin.class.php:704
    PHP 6. Git->__construct($plugin = *uninitialized*, $gerrit_server_factory = *uninitialized*, $driver_factory = *uninitialized*, $repository_manager = *uninitialized*, $system_event_manager = *uninitialized*, $gerrit_usermanager = *uninitialized*, $git_repository_factory = *uninitialized*, $user_manager = *uninitialized*, $project_manager = *uninitialized*, $plugin_manager = *uninitialized*, $request = *uninitialized*, $project_creator = *uninitialized*, $template_factory = *uninitialized*, $permissions_manager = *uninitialized*, $url_manager = *uninitialized*, $logger = *uninitialized*, $mirror_data_mapper = *uninitialized*, $project_creator_status = *uninitialized*, $gerrit_can_migrate_checker = *uninitialized*, $fine_grained_updater = *uninitialized*, $fine_grained_permission_factory = *uninitialized*, $fine_grained_retriever = *uninitialized*, $fine_grained_permission_saver = *uninitialized*, $default_fine...
    SCM/Git
    10.2
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-07-19
    Attachments
    Empty
    References

    Follow-ups