GJ.setData doesnt work #9

Open
opened 2015-02-09 02:24:41 +00:00 by pablomayobre · 2 comments
pablomayobre commented 2015-02-09 02:24:41 +00:00 (Migrated from github.com)

This doesnt seem to work, It never returns success, I got it to work by sending a POST request instead of a GET request, which also gives the full potential of the DataStore. GET request gives up to 8KB per key while POST gives the promised 16MB. I'm pushing the changes I made to the pull request #8

This doesnt seem to work, It never returns success, I got it to work by sending a POST request instead of a GET request, which also gives the full potential of the DataStore. GET request gives up to 8KB per key while POST gives the promised 16MB. I'm pushing the changes I made to the pull request #8
pablomayobre commented 2015-02-09 03:25:03 +00:00 (Migrated from github.com)

Well this is an error that may apply to other things, the problem is that characters need to be escaped in order to have a safe URL. I'll write a function to do that right now and post it here

Well this is an error that may apply to other things, the problem is that characters need to be escaped in order to have a safe URL. I'll write a function to do that right now and post it here
pablomayobre commented 2015-03-01 20:57:50 +00:00 (Migrated from github.com)

I was thinking that it may be better to escape all the fields that are inputted by the user of the lib, not sure, really. But that would mean that the request would be performed right even with wrong data, avoiding some unwanted errors from luasocket which would make the whole thing error with:

string.find string expected got nil
I was thinking that it may be better to `escape` all the fields that are inputted by the user of the lib, not sure, really. But that would mean that the request would be performed right even with wrong data, avoiding some unwanted errors from luasocket which would make the whole thing error with: ``` string.find string expected got nil ```
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
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: library-mirrors/gamejoltlua#9
No description provided.