Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-79509

Message boards: link containing an Ö character will thrown an error periodically

    Details

      Description

      1. Add the Message Boards portlet to the welcome page.
      2. Post New Thread
      3. Insert some title and some text, for example "My interesting text".
      4. Select the word "interesting" and choose Link in the editor
      5. Paste a URL containing accentuated letters (atleast 1, like : "Ö","Ü","É", etc)
      6. Press Publish
      Wait atleast 2minutes and you`ll see the error in the console:

      ERROR [liferay/scheduler_dispatch-4][LinkbackProducerUtil:215] Unable to call HEAD of http://www.********************the URL you used****************************
      java.lang.IllegalArgumentException: Invalid uri 'http://www.sou.gov.se/wp-content/uploads/2017/06/├ľvergripande-modellf├Ârslag-180104.pdf': escaped absolute path not valid
      at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:222)
      at org.apache.commons.httpclient.methods.HeadMethod.<init>(HeadMethod.java:94)
      at com.liferay.portal.util.HttpImpl.URLtoByteArray(HttpImpl.java:1440)
      at com.liferay.portal.util.HttpImpl.URLtoByteArray(HttpImpl.java:1115)
      at com.liferay.portal.kernel.util.HttpUtil.URLtoByteArray(HttpUtil.java:406)
      at com.liferay.portlet.blogs.util.LinkbackProducerUtil._discoverPingbackServer(LinkbackProducerUtil.java:208)
      at com.liferay.portlet.blogs.util.LinkbackProducerUtil.sendQueuedPingbacks(LinkbackProducerUtil.java:79)
      at com.liferay.portlet.blogs.messaging.LinkbackMessageListener.doReceive(LinkbackMessageListener.java:31)
      at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
      at com.sun.proxy.$Proxy299.receive(Unknown Source)
      at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:77)
      at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:71)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
      at java.lang.Thread.run(Thread.java:748)
      

       [email protected]: reproduced

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              norbert.nemeth Norbert Németh
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 12 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP90
                  7.0.10.13 DXP SP13
                  7.0.X
                  7.1.0 Beta 1
                  7.1.X
                  Master