Try our conversational search powered by Generative AI!

ProfileAPI: Can't get profiles that contain printf special characters

Found in

EPiServer.Profiles 1.4.0

Fixed in

EPiServer.Profiles.Client 1.5.0

(Or a related package)

Created

Feb 23, 2018

Updated

Sep 13, 2018

State

Closed, Fixed and tested


Description

Steps to reproduce

1.Create a profile that has a property which contains printf special characters in value (for example: \b, \f, \n, \r or \t)

{ "Name": "Swim \nSwim" }

2. Use the request to get the profile:

https://psinte.azure-api.net/inte-profilesapi/api/v1.0/Profiles/?$filter=Name eq "Swim \nSwim"

Expected:
Returns the profile.

Actual: Returns

{
    "items": [],
    "total": 0,
    "count": 0
}