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

Comments

Projects
None yet
2 participants
@bernie-simon
Copy link

commented Jun 26, 2015

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

This comment has been minimized.

Copy link
Owner

commented Jun 26, 2015

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

@bernie-simon

This comment has been minimized.

Copy link
Author

commented Jun 26, 2015

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

@ronalfy

This comment has been minimized.

Copy link
Owner

commented Jun 26, 2015

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

@ronalfy

This comment has been minimized.

Copy link
Owner

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 Jun 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.