When using shadow maps, the resulting shadows often have aliasing issues that result in artifacts. You can reduce these artifacts by increasing the shadow map resolution and/or by using soft shadows and/or by adjusting your scene to not expose the aliasing.
So as far as I can see in the attached project, this is the expected behavior, but if I missed something please feel free to re-open the bug and let us know.