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

General Discussion

test 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

Malformed markdown can throw a 500 error. Which is what the original post demonstrated.

I wonder if this will cause an error:

?>```

All fixed up. :wrench: :+1:

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';
?>
```

Pretty sure I broke someone's thread trying to format for jquery. Glad to see it got fixed, that was quick!

Sam, yeah, I saw that one come through. Thanks for bringing that to our attention. :stuck_out_tongue_winking_eye: We don't like to keep bugs throwing 500s around for long.