Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-94998

MongoDB doesn't respect collation in $rtrim for custom characters

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • ALL
    • Hide

      {$rtrim: {input: $str, chars: {$max: [$str, {$toUpper: $str}]}}} with a capitalization insensitive comparison can results in either "" or $str. 

      Show
      {$rtrim: {input: $str, chars: {$max: [$str, {$toUpper: $str}] }}} with a capitalization insensitive comparison can results in either "" or $str. 
    • QE 2024-10-28, QE 2024-11-11, QE 2024-11-25, QE 2024-12-09, QE 2024-12-23, QE 2025-01-06

      $ltrim and $trim are likely also effected

            Assignee:
            projjal.chanda@mongodb.com Projjal Chanda
            Reporter:
            samuel.mercier@mongodb.com Sam Mercier
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: