Aspose Slides returns incorrect externalurl for hyperlink if the display text contains a colon character


Aspose slides returns the display text of a hyperlink as external url instead of the actual external url if the display text contains at least on colon character.
This occurs on 19.7, the issue did not occur on our previously used version 18.9
I’ve attached a sample presentation (23.8 KB)
and the sample code is:

         Presentation source = new Presentation(@"C:\_Test\test.pptx");
         String url = ((AutoShape)source.Slides[0].Shapes[0]).TextFrame.Paragraphs[0].Portions[0].PortionFormat.HyperlinkClick.ExternalUrl;

In this specific example the actual external url is : cdm:chart:Test:Sheet1:Chart1 and the display text that is returned as external url is: cdm:chart



I have worked with the sample code shared by you and have been able to observe the issue. An issue with ID SLIDESNET-41320 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.


The issues you have found earlier (filed as SLIDESNET-41320) have been fixed in this update.