Yeah just to confirm, this was the fix for my REAR master cylinder cap only. But I got the idea from reading about front leaks, and thought it may also apply. It did and fixed the issue. Simple but effective.
Now I have a spare cap and gasket here I'll never use