Hacker News new | ask | show | jobs
by krapp 4757 days ago
Why in the world would anyone serve a php file as .xml? That seems to be the problem... xml files are meant to be readable as text.
1 comments

I would guess it's a configuration error around something like smart extensions, maybe? "If the clean URL has a .xml at the end, send the request through PHP."

Dumb, but it's the only thing I can come up with offhand.