Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle misencoding of login_source cfg in mssql (#16268) #16275

Merged
merged 1 commit into from
Jun 27, 2021

Commits on Jun 27, 2021

  1. Handle misencoding of login_source cfg in mssql (go-gitea#16268)

    Backport go-gitea#16268
    
    Unfortunately due a bug in xorm (see https://gitea.com/xorm/xorm/pulls/1957) updating
    loginsources on MSSQL causes them to become corrupted. (go-gitea#16252)
    
    Whilst waiting for the referenced PR to be merged and to handle the corrupted
    loginsources correctly we need to add a wrapper to the `FromDB()` methods to look
    for and ignore the misplaced BOMs that have been added.
    
    Fix go-gitea#16252
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    a82bfc8 View commit details
    Browse the repository at this point in the history