Patterns and community · Question 12 of 12
In an Extbase action two URLs are created one after the other with $this->uriBuilder, the second without calling reset() first. Which problem arises?
1 answer is correct. Hard
Show answer
Answer
- D Settings of the first URL, such as a target page, leak into the second URL
Explanation
The UriBuilder keeps its state; reset() before every new build prevents settings from leaking.