Dismiss Notice

Register now to be one of the first members of this SharePoint Community! Click here it just takes seconds!

Dismiss Notice
Welcome Guest from Country Flag

SharePoint Online breaks my script links

Discussion in 'SharePoint Blogs' started by Microsoft SharePoint, Dec 14, 2015.

Thread Status:
Not open for further replies.
  1. Microsoft SharePoint

    Microsoft SharePoint Guest

    Blog Posts:
    0
    0
    0
    0
    I've recently seen this behaviour on two tennants, and I was wondering if this is something others have issues with as well.

    I have some scripts, which are uploaded to SiteAssets as htm files. These include script links to cdns, f.ex:

    <script src="//cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"></script>

    Somehow these are then changed to look like this:

    <script src="//tennant.sharepoint.com///cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"></script>

    Which of course breaks the link. Changing them back works fine, but I am worried that this may happen again.

    Is this related to the htm format? Can the "feature" be disabled somehow?

    submitted by souIIess
    [link] [1 comment]

    Continue reading...
     
Thread Status:
Not open for further replies.

Share This Page

LiveZilla Live Chat Software