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

Sprintf error, line 153 in index.php #7

Closed
bernie-simon opened this issue Jun 26, 2015 · 4 comments
Closed

Sprintf error, line 153 in index.php #7

bernie-simon opened this issue Jun 26, 2015 · 4 comments

Comments

@bernie-simon
Copy link

It looks like the code which embeds $raw_content into $textarea_content at line 135 isn't checking for percent signs. If one is present, when the $textarea_content is used as a print format at line 153, it will throw an error and say sprintf has too few arguments.

@ronalfy
Copy link
Collaborator

ronalfy commented Jun 26, 2015

Thank you. This is just default behavior? Just confirming so I can test.

@bernie-simon
Copy link
Author

If $raw_content contains a percent sign, it will throw the error.

@ronalfy
Copy link
Collaborator

ronalfy commented Jun 26, 2015

!!! Wow. Okay, I understand now. I'll try to get this patched as soon as possible.

@ronalfy
Copy link
Collaborator

ronalfy commented Jun 26, 2015

Thanks again. I fixed it in 46b0188 but I don't have SVN access at the moment, so I'll push out an update on .org when I get home in a few hours.

@ronalfy ronalfy closed this as completed Jun 26, 2015
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

No branches or pull requests

2 participants