Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4699

Video: red screen if the video URL has a space

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.2.10, 15.0.1
    • Component/s: Video
    • Labels:
      None

      Description

      The import by URL in author environment produce a red screen if the URL of the video has a space.

      2020-05-18 01:29:07.944 [ajp-nio2-8021-exec-60] ERROR OLATRuntimeException ^%^ I1512946-J1402264 ^%^
       org.olat.core.logging.OLATRuntimeException ^%^
      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0 ^%^ **RedScreen** Illegal character in path
       at index 71: http://xyz/Slides_Week7_Basic Course_SoSe2020.mp4
       at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:112)
      Caused by: java.lang.IllegalArgumentException: Illegal character in path
       at index 71: http://xyz/Slides_Week7_Basic Course_SoSe2020.mp4
       at java.net.URI.create(URI.java:852)
       at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:66)
       at org.olat.modules.video.manager.VideoManagerImpl.downloadTmpVideo(VideoManagerImpl.java:930)
       at org.olat.modules.video.manager.VideoManagerImpl.updateVideoMetadata(VideoManagerImpl.java:841)
       at org.olat.repository.handlers.VideoHandler.importResource(VideoHandler.java:211)
       at org.olat.repository.ui.author.ImportURLRepositoryEntryController.doImport(ImportURLRepositoryEntryController.java:339)
       at org.olat.repository.ui.author.ImportURLRepositoryEntryController.formOK(ImportURLRepositoryEntryController.java:157)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:389)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:119)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:441)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:428)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:72)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:561)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:296)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:100)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1218)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:400) ... 39 more Caused by: java.net.URISyntaxException: Illegal character in path
       at index 71: http://videoserver3.rz.uni-kiel.de/caulehre/sugen214/Slides_Week7_Basic Course_SoSe2020.mp4
       at java.net.URI$Parser.fail(URI.java:2848)
       at java.net.URI$Parser.checkChars(URI.java:3021)
       at java.net.URI$Parser.parseHierarchical(URI.java:3105)
       at java.net.URI$Parser.parse(URI.java:3053)
       at java.net.URI.<init>(URI.java:588)
       at java.net.URI.create(URI.java:850) ... 60 more
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: