Tapestry 5
  1. Tapestry 5
  2. TAP5-1935

ContextResource uses a deprecated File.toURL

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.3
    • Fix Version/s: 5.3.4, 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      This causes issues whenever a file has a hash character ('#') in the name since everything after that it is interpreted as an anchor and excluded from the path used in URL.openStream(). Use file.toURI().toURL() instead.

        Activity

          People

          • Assignee:
            Kalle Korhonen
            Reporter:
            Kalle Korhonen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development