Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
James Barnett
39,199 Pointstest for a bug
Looks like this is a input sanization bug in the forum:
<?php
nvar_dump($_POST);
?>
edit: Obviously this post has been edited, hence it's viewable.
4 Answers
James Barnett
39,199 PointsMalformed markdown can throw a 500 error. Which is what the original post demonstrated.
I wonder if this will cause an error:
?>```
Sean Gaffney
Front End Web Development Techdegree Student 2,560 PointsAll fixed up.
It wasn't actually malformed markdown, it was passing in incorrect languages, or "language strings" like above, in code fences. For PHP, you'd just type:
```php
<?php
echo 'OH HAI';
?>
```
samiff
31,206 PointsPretty sure I broke someone's thread trying to format for jquery. Glad to see it got fixed, that was quick!
Sean Gaffney
Front End Web Development Techdegree Student 2,560 PointsSam, yeah, I saw that one come through. Thanks for bringing that to our attention. We don't like to keep bugs throwing 500s around for long.