Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4903

relativeUrl's begins with ./

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.1.0
    • 6.7.0
    • None
    • None

    Description

      In method renderRelativeUrl in UrlRenderer the check url.isAbsolute() is removed. For wich reason is this removed? Because now our relativeurls link /js/name.js are rendered ./js/name.js

      How can I fix this?

      The url is made by Url.parse("/js/name.js").

      Attachments

        1. 4903.tgz
          21 kB
          Martin Tzvetanov Grigorov
        2. TestRelativeUrls.zip
          23 kB
          Ann Baert

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            ann Ann Baert
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment