#1 2025-04-15 17:05:48

tbo
Member
Registered: 2015-04-20
Posts: 360

function SplitRights

Delphi 12.2
mORMot2, Commit: 2.3.10687

The SplitRights function does not do what the description says when the separator is one Byte long. The Exit statement was forgotten.

With best regards
Thomas

Offline

#2 2025-04-16 07:44:43

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,966
Website

Re: function SplitRights

You are right.

Should be fixed by
https://github.com/synopse/mORMot2/commit/697949fa5

And I have added some regression tests. wink

Offline

Board footer

Powered by FluxBB