The Insane Solution:
One guy with a highly trained nose sniffs every single item that goes into space. His name is George Aldrich, and for going on half a century he's been NASA's chief schnozz, smelling not only the food, tools, and other supplies provided by NASA, but also any personal items that astronauts are planning to bring along on their journey. If an astronaut wants to take it, they've first got to let ol' George sniff it. We would pay good money to watch some of the more awkward exchanges that surely must have occurred. The underwear alone ...
"What did you smell?"
"Oh, nothing. I just noticed this was a Coldplay mix."
George has a nearly supernatural ability to differentiate among the seven main categories of scents: "musky, floral, ethereal, camphoraceous, minty, pungent [and] putrid." Today, George leads a small team of similarly-superpowered sniffers to protect astronauts from their own unbearable stench. Three times a year, each sniffer must undergo a "10-bottle test" to make sure his or her nose is still up to snuff.
We know exactly what you're thinking: "But don't astronauts fart in space?" And the answer to that question, according to now-retired astronaut Chris Hadfield, is "Yes. Prodigiously." See, it's impossible to burp, since gas doesn't rise like it does here on Earth, so any gas trapped inside the body comes out the other end. Astronauts have even tried to fart-propel themselves across the International Space Station (sadly, with little success).