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.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications