Comments (2)
Seems that this is the cause:
codeigniter-restserver/src/RestController.php
Line 379 in f386f4e
The data is already added at this point from $this->_post_args
.
I'm not sure why this or the check and initialisation of the array further up:
codeigniter-restserver/src/RestController.php
Line 330 in f386f4e
is needed unless the idea is to support request methods not already defined in the class. Creating a potentially new public variable doesn't seem like it was the intended idea though.
Potential fix could be to +
the args arrays together instead of using array_merge
. This stops numerically indexed array elements with the same index in different arrays from being appended and incremented in this way.
from codeigniter-restserver.
There has been no activity on this issue, so it will be closed.
from codeigniter-restserver.
Related Issues (20)
- How is methods set in Rest Controller ? HOT 3
- Installing through composer will remove "self::" from RestController.php HOT 3
- POST request is not working only GET request is working HOT 1
- [RuntimeException] when installing library - [mikey179/vfsstream] HOT 1
- GET method with JSON input HOT 1
- Limit API key to class and function HOT 1
- Expected type HOT 1
- HTTP codes accessed through a variable that does not exist
- Class 'chriskacerguis\RestServer\RecursiveIteratorIterator' not found HOT 1
- Still work on CodeIgniter 3.0.4 ? HOT 1
- Suspend key HOT 1
- CORS Issue HOT 2
- Add russian language HOT 1
- Cannot send body request from React js app HOT 2
- Got error after a Get service is completed HOT 1
- How about the client side HOT 1
- Issue with CodeIgniter 4.3.2 version - Rest Server version 3.1.4 HOT 2
- about DBAD License on Format.php HOT 1
- PHP 8.3 deprecation for `ldap_connect` with 2 parameters.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter-restserver.