• Stan Hu's avatar
    Merge branch 'fix-infinite-redirect' into 'master' · a76d4d27
    Stan Hu authored
    Only redirect to homepage url when its not the root url
    
    It was possible to create an infi redirect when the user set up the
    `home_page_url` to redirect to the main URL of the gitlab instance.
    
    This fix makes sure this redirect is not possible.
    
    Fixes #1020 
    
    /cc @dblessing 
    
    See merge request !1703
    a76d4d27
application_controller.rb 10.6 KB