WFS version 2.0.0 requests with Filter String Property Literals starting with leading zero returns not working

Description

Executing WFS requests (version 2.0.0), using Filter String Property Literals starting with leading zero results in an empty response even if the searched fetures are in the postgis database.
Sample request:

Corrsponding Geoserver log:

It's clear that the requested literal string 061051 has been transformed to 61051 in the geotools filter.

Environment

None

Status

Assignee

Unassigned

Reporter

Hervé Minko

Triage

Fix versions

None

Affects versions

Components

Priority

High
Configure