# |
May 25th 2019, 07:28 |
admad |
the middleware? |
# |
May 25th 2019, 07:28 |
Arckame |
I have found a way to disable the csrf check for a specified action (ty stackoverfow) . |
# |
May 25th 2019, 07:20 |
Arckame |
thank you |
# |
May 25th 2019, 07:20 |
admad |
https://github.com/cakephp/cakephp/pull/13218/files |
# |
May 25th 2019, 07:19 |
admad |
Arckame: you can't. You need to enable it only for scopes you want. The ability to disable only for specific actions will be available in 3.8. You can just copy it in your app for now and use that https://github.com/cakephp/cakephp/blob/3.next/src/Http/Middleware/CsrfProtectionMiddleware.php |
# |
May 25th 2019, 07:12 |
Arckame |
I have an issue using the csrfMiddleware, i don't understand in 3.7 how to disable it for a specified action |
# |
May 25th 2019, 07:11 |
Arckame |
hi |
# |
May 24th 2019, 15:30 |
ricksaccous |
yeah it was just null |
# |
May 24th 2019, 15:28 |
ricksaccous |
hmph prob my bad |
# |
May 24th 2019, 15:28 |
ricksaccous |
oh it's showing it passed in as null |
# |
May 24th 2019, 15:20 |
ricksaccous |
the '#' part of the link i'm throwing in is being ignored |
# |
May 24th 2019, 15:20 |
ricksaccous |
with htmlHelper |
# |
May 24th 2019, 15:20 |
ricksaccous |
hello i'm having a small problem |
# |
May 24th 2019, 14:56 |
frank |
@ceeram ! Been a while! |
# |
May 24th 2019, 14:51 |
frank |
@admad *Heavy weights, golden boys |
# |
May 24th 2019, 14:35 |
admad |
Look who the cat dragged in! Two old timers :slightly_smiling_face: |
# |
May 24th 2019, 14:23 |
ceeram |
@frank! |
# |
May 24th 2019, 14:16 |
frank |
@ceeram, told you it was heading that way |
# |
May 24th 2019, 14:10 |
destinydriven |
ceeram, what will I do now when I need auto parts :thinking_face: |
# |
May 24th 2019, 13:17 |
neon1024 |
I’d say `contain()` if you’re working with a Query instance |
# |
May 24th 2019, 12:54 |
ceeram |
https://github.com/cakephp/cakephp/blob/master/src/ORM/Table.php#L2529 though magic getter |
# |
May 24th 2019, 12:50 |
admad |
@val associations are actually instances of association classes, they are loaded by the association collection instance of the table |
# |
May 24th 2019, 12:50 |
josbeir |
? :P |
# |
May 24th 2019, 12:50 |
josbeir |
$this->MainTable->AssocTable->.... |
# |
May 24th 2019, 12:25 |
val |
Hi, what method loads associated table class in Cake 3.x? |
# |
May 24th 2019, 11:54 |
neon1024 |
@ceeram Congratulations on the full time coding! |
# |
May 24th 2019, 11:15 |
ceeram |
anyone planning to go to cakefest this year? |
# |
May 24th 2019, 11:14 |
ceeram |
i am, doing coding as profession now, outside office hours hardly doing anything behind a laptop anymore, bass guitar is my newfound hobby. i do miss being part of the community though, just dont know how to make time for it anymore. |
# |
May 24th 2019, 11:04 |
neon1024 |
Heya @ceeram :wave: Hope you’re well :slightly_smiling_face: |
# |
May 24th 2019, 11:04 |
ceeram |
and hi all, long see no time |
# |
May 24th 2019, 11:04 |
ceeram |
anyone seen the cakephp support chan? i must have landed in the wrong place? i hate talking politics :P |
# |
May 24th 2019, 11:04 |
neon1024 |
None of the Conservative candidates are a good choice in my opinion, but not being a member of the Conservative party I don’t get a vote. So we’ll end up with a second “back door” Prime Minister |
# |
May 24th 2019, 11:03 |
neon1024 |
For me, it’s definitely the politicians vying for the Prime Minister job rather than getting Brexit organised. |
# |
May 24th 2019, 10:56 |
neon1024 |
Especially the post-competition deduction of 5 points |
# |
May 24th 2019, 10:56 |
neon1024 |
Eurovision was an acute and hilarious reflection of our new position in Europe |
# |
May 24th 2019, 10:56 |
neon1024 |
Our political situation is embarassing |
# |
May 24th 2019, 10:24 |
neothermic |
@neon1024 it's May's new job. max length is max length! :P |
# |
May 24th 2019, 10:20 |
neon1024 |
Yep, that’s a bug |
# |
May 24th 2019, 10:20 |
neon1024 |
`Notice (8): Undefined offset: 0 [CORE/src/View/Form/EntityContext.php, line 473]` |
# |
May 24th 2019, 09:58 |
neon1024 |
:man-shrugging: |
# |
May 24th 2019, 09:58 |
neon1024 |
What is the max length? |