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. 

      $ltrim and $trim are likely also effected

            Assignee:
            Unassigned Unassigned
            Reporter:
            samuel.mercier@mongodb.com Sam Mercier
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: