[Conduit] file.search doesn't accept name with accent

Reproduction Instructions

  • Add file with conduit or directly in phabricator with accent like Détail article.jpg
  • try to find if exist with conduit api file search (by code or directly with form):

without php urlencode/rawurlencode => exception
with php urlencode/rawurlencode => file not found

Phabricator/Arcanist Version
Output from Config > Version Information or arc version.

Phabricator version :

commit 64cc4fe9151547a8f872ea8c83b9a6cea22ce023
Author: epriestley git@epriestley.com
Date: Fri Feb 14 13:56:08 2020 -0800

Arcanist version

arcanist ee66b15bd4694813dff67524eee7fd11ac3ebd97 (17 Feb 2020)

Thanks, I filed this upstream as https://secure.phabricator.com/T13501.