ok then imagine how a shot gun cartridge which is sealed doesnt just explode in the gun killing the owner!!
Not many pics on line but this is the bottom of a WWII mortar.

In effect all the explosive is burnt and the propellant comes out bottom as its a weak point. You also have a few small holes on sides to get rid of excess flash.