Does glass filter out both UVA/UVB?

I heard somewhere that you can’t get a sunburn through glass. sunburns are caused by UVB, does glass also reflect UVA rays, or at least lessen them?