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

Spaces in path cause ModifcationWatcher to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.5
    • 1.5.6, 6.0.0-beta2
    • wicket
    • None
    • Windows 7

    Description

      The ModificationWatcher isn't able to reload resource files if there's a space in the path.

      The problem is that Files#getLocalFileFromUrl(String) receives an URL encoded String in which spaces are encoded to %20. They are never decoded and passed to File(). The fix is not to use the external representation of an URL but the file representation.

      Attachments

        1. WICKET-4509.patch
          0.6 kB
          Christoph Leiter

        Activity

          People

            svenmeier Sven Meier
            cleiter Christoph Leiter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: