This is a follow-up to this question.
Let $A$ be a domain; let $\mathfrak p_1,\dots,\mathfrak p_k$ be distinct prime ideals of $A$ such that $\mathfrak p_i^{j+1}\ne\mathfrak p_i^j$ for all $1\le i\le k$, $j\ge1$; and let $m$ and $n$ be elements of $\mathbb N^k$ such that $$\mathfrak p_1^{m_1}\cdots\mathfrak p_k^{m_k}=\mathfrak p_1^{n_1}\cdots\mathfrak p_k^{n_k}$$ Can we conclude that $m$ and $n$ are equal?
user26857 proved that the answer is Yes if $A$ is noetherian (see this answer). (Of course in this case the condition $\mathfrak p_i^{j+1}\ne\mathfrak p_i^j$ for all $j\ge1$ is equivalent to $\mathfrak p_i\ne(0)$.)