Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2435

Checking privileges fails due to unescape identifiers in sql string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.1, 2.0.1
    • 1.7.1
    • Hive V2

    Description

      For query "use `db_name`", sentry doesn't remove the encapsulating "`" pair from the identifier making authorization fails.

      For query "drop database `db_name`" and some others, sentry returns "not match table meta grammar".

      Attachments

        1. sentry.patch
          8 kB
          Yang Mingqi

        Activity

          People

            Unassigned Unassigned
            Yang Mingqi Yang Mingqi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified