feat: create post route for debug #1315

Merged
alexm merged 2 commits from 5094-application_post into test 2023-02-15 09:53:56 +00:00
Member
No description provided.
alexm added the
CR / Tests passed
label 2023-02-08 09:57:48 +00:00
alexm added 1 commit 2023-02-08 09:57:49 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
b209ecb011
feat: create post route for debug
alexm changed title from feat: create post route for debug to WIP: feat: create post route for debug 2023-02-08 10:00:49 +00:00
alexm requested review from juan 2023-02-08 14:01:37 +00:00
jgallego approved these changes 2023-02-15 08:10:45 +00:00
alexm reviewed 2023-02-15 08:13:12 +00:00
@ -0,0 +12,4 @@
});
Self.post = async ctx => {
return ctx.req.body;
Author
Member

He pensat alguna manera de que tornar el ctx.req.body puga tindre alguna vulnerabilitat i no se me ha ocurrit.
Vaig provar a passar alguna funvio pero com loopback teu parseja a JSON si posen algo diferent dona error de parsetjar.
Per ejemple:
{
"test": salixFunction()
}
No funcionaria pq JSON no admitix funcions

He pensat alguna manera de que tornar el ctx.req.body puga tindre alguna vulnerabilitat i no se me ha ocurrit. Vaig provar a passar alguna funvio pero com loopback teu parseja a JSON si posen algo diferent dona error de parsetjar. Per ejemple: { "test": salixFunction() } No funcionaria pq JSON no admitix funcions
juan approved these changes 2023-02-15 09:18:44 +00:00
alexm changed title from WIP: feat: create post route for debug to feat: create post route for debug 2023-02-15 09:19:36 +00:00
alexm added 16 commits 2023-02-15 09:19:47 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
21281e09db
hotfix removed supplier
gitea/salix/pipeline/head This commit looks good Details
6533b92ad3
Merge branch 'master' into hotFix-balance-compensation
gitea/salix/pipeline/head This commit looks good Details
2717c6420c
fix(invoiceIn_descriptor): supplier.email
gitea/salix/pipeline/head There was a failure building this commit Details
0a9d37ca08
hotfix itemConfig
gitea/salix/pipeline/head There was a failure building this commit Details
6d3bcc97f3
Merge branch 'master' into hotFix-balance-compensation
gitea/salix/pipeline/head This commit looks good Details
ef5b29d6f3
hotfix ticketFutureAdvance warehouse
gitea/salix/pipeline/head This commit looks good Details
9ec75a5af3
Merge branch 'test' into 5094-application_post
alexm merged commit 80b3588b37 into test 2023-02-15 09:53:56 +00:00
alexm deleted branch 5094-application_post 2023-02-15 09:53:56 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#1315
No description provided.