I'm reading Iwaniec's book and he says Kloosterman sum factors into
$S(n,n;c)=S(n\bar{q},n\bar{q};r)T(n\bar{r},n\bar{r};q)$
where $n$ is square free and $c=rq$ such that $(q,n)=(q,r)=1$(i.e. $q$ is the largest factor of $c$ coprime to $n$) and $T$ is the Salie sum. I know that
$S(n,n;c)=S(n\bar{q},n\bar{q};r)S(n\bar{r},n\bar{r};q)$
since $(q,r)=1, c=qr$ but then his claim means $S(n\bar{r},n\bar{r};q)=T(n\bar{r},n\bar{r};q)$ which means $\displaystyle\left(\frac{d}{q}\right)=1$ for all $(d,q)=1, d<q$ and I don't quite see why this is true. Does it have something to do with $n$ being square free or is this generally true?