Filtering Partially Observable Diffusions Up To The Exit Time From A Domain.