URL-encoded URLs in FlatPage.get_absolute_url.
Fixed #18862 -- Honored script prefix in FlatPage.get_absolute_url.