When slug generation method is encoded, It redirected many times when we open new tab opens in topic

yes and the problem still exist. .strip method won’t solve it.