#vulnerable code 
                                @Test
    public void rendersProfilePageInFirefoxWithReputation() throws Exception {
        final Farm farm = new PropsFarm(new FkFarm());
        final String user = "yegor256";
        MatcherAssert.assertThat(
            new View(farm, String.format("/u/%s", user)).html(),
            XhtmlMatchers.hasXPath(
                String.format(
                    "//xhtml:a[@href='https://github.com/%s']",
                    user
                )
            )
        );
    } 
                            #location 6 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void rendersProfilePageInFirefoxWithReputation() throws Exception {
        final Farm farm = FkFarm.props();
        final String user = "yegor256";
        MatcherAssert.assertThat(
            new View(farm, String.format("/u/%s", user)).html(),
            XhtmlMatchers.hasXPath(
                String.format(
                    "//xhtml:a[@href='https://github.com/%s']",
                    user
                )
            )
        );
    }