Issue Bug Closed

#71246TS: typolink to FAL reference produces double slash

Simon Würstle 11/02/15, 14:57 updated 11/02/15, 16:10

Description

If you set config.absRefPrefix to “/” or to “auto”, the following TS Snippet produces a double slash in the anchor href tag:

10 = TEXT
10 {
    value = Foo
    typolink.parameter.cObject = FILES
    typolink.parameter.cObject {
        maxItems = 1
        references {
            table = pages
            uid.field = uid
            fieldName = media
        }
        renderObj = IMG_RESOURCE
        renderObj.file.import.data = file:current:originalUid // file:current:uid
    }
}

Result: href=”//fileadmin/user_upload/foobar.jpg”

It works with 6.2.15 but not with 7.5.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.