Added url encoding to stack