Skip to content

Validate player skin before saving to db#1447

Merged
Mycroft-Studios merged 1 commit into
esx-framework:devfrom
EinS4ckZwiebeln:patch-01
Nov 10, 2024
Merged

Validate player skin before saving to db#1447
Mycroft-Studios merged 1 commit into
esx-framework:devfrom
EinS4ckZwiebeln:patch-01

Conversation

@EinS4ckZwiebeln

Copy link
Copy Markdown
Contributor

This PR adds at least a little validation before saving the contents of the 'skin' net event parameter to the database. You could previously save basically anything to the db that could be stringified as json, which isn't optimal.

@Mycroft-Studios Mycroft-Studios changed the base branch from main to dev November 10, 2024 12:17
@Mycroft-Studios Mycroft-Studios merged commit 5971420 into esx-framework:dev Nov 10, 2024
@EinS4ckZwiebeln EinS4ckZwiebeln deleted the patch-01 branch November 11, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants