Regular in codimension 1 means that for all height 1 prime ideals $p$, $R_p$ is a regular local ring.
Is there a Noetherian integral domain that is regular in codimension 1 but not integrally closed?
The motivation behind this question is that Hartshorne's Algebraic Geometry in chapter 2.6 defines (*) as : Noetherian, integral separated scheme that is regular in codimension 1. "Normal" is missing. While Vakil's Foundations of Algebraic Geometry, chapter 15.4 uses a normality hypothesis extensively. I want to know why there is a difference.
My attempt is: since it's regular in codimension 1 but not regular, the dimension should be at least 2. I can think of the example $k[x,y,z]/(y^2-x^3-z)$ as a potential example . But I don't know how to prove that it's integrally closed and regular in codimension 1.