The World Federation One Stop Fiqh

Ruling 1559

There is no problem in swallowing the mucus of the head and chest as long as it has not entered the cavity of the mouth. If it enters the mouth cavity and is swallowed, the fast does not become invalid, although the recommended precaution is that one should not swallow it.