|Issue tags:||Quick fix|
This has been bugging me for a while since I prefer URL hacking over menu navigation when adding nodes: When visiting node/add/<type> using incorrect capitalization in the <type>, you'll get a WSOD caused by an undefined variable $output in
The following paths work as expected:
- node/add/does-not-exist (correctly displays the list of available content types for which nodes can be added)
The following path causes a WSOD:
- node/add/PaGe (would expect to see either the node add page for "page" content type, or the list of available content types)
Given the fact that the rest of the path is treated as case insensitive, node/add/PAGE should show the "Create Page" node form.