#vulnerable code 
                                @Test
    public void showsLinkToPolicyForUnknownUser() throws Exception {
        final String flash =
            // @checkstyle LineLength (1 line)
            "@nvseenu is not invited to us yet, see <a href=\"www.zerocracy.com/policy.html#1\">§1</a>";
        MatcherAssert.assertThat(
            new View(new PropsFarm(new FkFarm()), "/").html(
                new FormattedText(
                    "Cookie: RsFlash=%s/WARNING",
                    URLEncoder.encode(flash, StandardCharsets.UTF_8.toString())
                ).asString()
            ),
            new StringContains(flash)
        );
    } 
                            #location 7 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void showsLinkToPolicyForUnknownUser() throws Exception {
        final String flash =
            // @checkstyle LineLength (1 line)
            "@nvseenu is not invited to us yet, see <a href=\"www.zerocracy.com/policy.html#1\">§1</a>";
        MatcherAssert.assertThat(
            new View(FkFarm.props(), "/").html(
                new FormattedText(
                    "Cookie: RsFlash=%s/WARNING",
                    URLEncoder.encode(flash, StandardCharsets.UTF_8.toString())
                ).asString()
            ),
            new StringContains(flash)
        );
    }