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

Fix DBConsistency checks on MSSQL (#23132) #23134

Merged
merged 3 commits into from
Feb 25, 2023

Commits on Feb 24, 2023

  1. Fix DBConsistency checks on MSSQL (go-gitea#23132)

    Unfortunately xorm's `builder.Select(...).From(...)` does not escape the
    table names. This is mostly not a problem but is a problem with the
    `user` table.
    
    This PR simply escapes the user table. No other uses of `From("user")`
    where found in the codebase so I think this should be all that is
    needed.
    
    Fix go-gitea#23064
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored and yardenshoham committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    1cc4a82 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2023

  1. Configuration menu
    Copy the full SHA
    58eec28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb5213c View commit details
    Browse the repository at this point in the history