andersao / andersao/l5-repository

Escape colon ":" in search value.

未关闭
#349 6 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
4.2k
派生
880
PR 合并指标
30 天内没有已合并 PR

描述

Hi,

First thanks for the awesome library.

I appreciate your answer might be, not yet implemented, given your recent quest for maintainers, but doesn't hurt to ask :)

Is there a current way to escape delimiters in search values, for example, say I have the following research request

`http://localhost:1337/api/contacts?search=updated_at:2017-02-27+21:58:35.000&searchFields=updated_at:>=`

`RequestCriteria::parserFieldsSearch()` explodes on ":" so the datetime value becomes ` 2017-02-27 21` in the resulting query.

Is there currently a solution to this?

Thanks :)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。