{"action":"created","issue":{"url":"https://api.github.com/repos/ypnos-web/cakephp-datatables/issues/67","repository_url":"https://api.github.com/repos/ypnos-web/cakephp-datatables","labels_url":"https://api.github.com/repos/ypnos-web/cakephp-datatables/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/ypnos-web/cakephp-datatables/issues/67/comments","events_url":"https://api.github.com/repos/ypnos-web/cakephp-datatables/issues/67/events","html_url":"https://github.com/ypnos-web/cakephp-datatables/issues/67","id":353994713,"node_id":"MDU6SXNzdWUzNTM5OTQ3MTM=","number":67,"title":"Ability to modify request query parameters","user":{"login":"challgren","id":88909,"node_id":"MDQ6VXNlcjg4OTA5","avatar_url":"https://avatars1.githubusercontent.com/u/88909?v=4","gravatar_id":"","url":"https://api.github.com/users/challgren","html_url":"https://github.com/challgren","followers_url":"https://api.github.com/users/challgren/followers","following_url":"https://api.github.com/users/challgren/following{/other_user}","gists_url":"https://api.github.com/users/challgren/gists{/gist_id}","starred_url":"https://api.github.com/users/challgren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/challgren/subscriptions","organizations_url":"https://api.github.com/users/challgren/orgs","repos_url":"https://api.github.com/users/challgren/repos","events_url":"https://api.github.com/users/challgren/events{/privacy}","received_events_url":"https://api.github.com/users/challgren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-25T08:22:27Z","updated_at":"2018-08-25T21:30:45Z","closed_at":null,"author_association":"NONE","body":"Since CakePHP version 4.0 is going to make the Request object protected, it would be nice to have the option to pass the query parameters ourselves so we can modify them prior to the component running. \r\n\r\n### Use case\r\nUser doesn't understand that `%` is really a `*` so I would like to have the option to replace all `*`'s with `%`"},"comment":{"url":"https://api.github.com/repos/ypnos-web/cakephp-datatables/issues/comments/415997819","html_url":"https://github.com/ypnos-web/cakephp-datatables/issues/67#issuecomment-415997819","issue_url":"https://api.github.com/repos/ypnos-web/cakephp-datatables/issues/67","id":415997819,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTk5NzgxOQ==","user":{"login":"challgren","id":88909,"node_id":"MDQ6VXNlcjg4OTA5","avatar_url":"https://avatars1.githubusercontent.com/u/88909?v=4","gravatar_id":"","url":"https://api.github.com/users/challgren","html_url":"https://github.com/challgren","followers_url":"https://api.github.com/users/challgren/followers","following_url":"https://api.github.com/users/challgren/following{/other_user}","gists_url":"https://api.github.com/users/challgren/gists{/gist_id}","starred_url":"https://api.github.com/users/challgren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/challgren/subscriptions","organizations_url":"https://api.github.com/users/challgren/orgs","repos_url":"https://api.github.com/users/challgren/repos","events_url":"https://api.github.com/users/challgren/events{/privacy}","received_events_url":"https://api.github.com/users/challgren/received_events","type":"User","site_admin":false},"created_at":"2018-08-25T21:30:45Z","updated_at":"2018-08-25T21:30:45Z","author_association":"NONE","body":"I never thought of those options. But so here's one case where client side would be a bad option. For example since there is no maxLength set a client could potential request length to -1 or a number that would kill the database. Right now none of my tables are publicly facing but once exposed I wouldn't want to give users the option to have a limit greater than one I specify. So for now my solution is to modify the query parameters before the component works on it."}}
{"actor":{"display_login":"challgren"}}