Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make plugin yourls 1.7 compatible, fix SQL injection #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bcc
Copy link

@bcc bcc commented Nov 12, 2020

This fixes #3 along with moving the DB queries to PDO but also solves an SQL injection issue when inserting click data.

@tipichris
Copy link
Owner

Can you clarify which version of YOURLS this is compatible with? You've said 1.7, but the current YAPCache is built for 1.7.1, which is more recent than 1.7. I'm guessing you mean a later version.

@bcc
Copy link
Author

bcc commented Nov 16, 2020

Ah, sorry for the ambiguity. I think what I should have said was 1.7.3+ compatible, but it was developed it against the version in git, then tested with 1.7.9 - as that's a security update I didn't specifically check against any earlier versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot access protected property
2 participants