locked
SkyDrive not correctly rendering my files. RRS feed

  • Question

  • c
    RegExp("[^a-z0-9-.+:]","i"),m=new
    RegExp("^[a-z0-9-.+]+:","i");a.isProtocolAllowed=function
    v(d){d=(d||"").toLowerCase();var b="",g=d.length,f;for(var
    e=0;e<g;e++){f=d.charCodeAt(e);if(f>32&&f<127)b+=d.charAt(e)}var
    a=b.indexOf(p);if(a==-1)a=b.indexOf(k);if(a==-1)a=b.indexOf(j);var
    c=b.substr(0,a+1);return
    !l.test(c)&&(!m.test(c)||c=="http:"||c=="https:"||c=="ftp:")};a.isInternalUrl=functiond
    y(b){try{return
    !!b&&$U.doesMatchHost(b,a.d)&&a.isProtocolAllowed(b)}catch(c){return
    false}};a.getHashUrl=function z(){var
    c,g=b.location,d=g.href,i=d.indexOf(e),f=i==-1?"":d.substr(i+1);if(f){var
    h=e;c=d;if(f.indexOf(o)==0){c=d.substr(d.indexOf(f)+1);h=n}if(c.indexOf("/")==0)c=[g.protocol,"//",g.host,c].join("");c=a.getNormalizedUrl(c,h)}returnt
    c};a.getCurrentUrl=function x(){var c=a.getHashUrl();return
    a.isInternalUrl(c)?c:b.location.href};a.getAppFrameWindow=function
    u(){try{return (!a.m||a.merged)&&_ge(a.fid).contentWindow}catch(b){return
    undefined}};a.getAppFrameDocument=function t(){try{return
    a.getAppFrameWindow().document}catch(b){return undefined}};function q(a,e){var
    k=-1,c=a.indexOf(e);while(c!=-1){var
    b=c+1,h=a.indexOf(e,b),m=a.indexOf(g,b),n=a.indexOf(f,b),j=a.indexOf(d,b),l=[h,m,n,j].sort(function(a,b){return)
    a==-1?1:b==-1?-1:a-b}),i=l[0];if(i==-1)break;else if(i==j){k=c;break}else
    c=h}return k}a.getNormalizedUrl=function w(a,c){c=c||e;var
    h="",g=q(a,c);if(g>-1){h=a.substr(g+1);a=a.substr(0,g)}var
    b="",d=a.indexOf(f);if(d>-1){b=a.substr(d+1);a=a.substr(0,d)}b=s(r(h?h:b));if(b)a=[a,f,b].join("");a=a.replace(/[!]/g,"%21");returnf
    a};function r(h){var c={};if(h){var
    f=h.split(g),i=f.length,a=0;for(;a<i;a++){var
    Tuesday, June 18, 2013 3:42 PM

All replies

  • The above is what I see when I try to open and view a Skydrive file

    knightbar

    Tuesday, June 18, 2013 3:44 PM
  • Hi Knightbar,

    Thank you for posting in the MSDN Forum.

    What do you mean by SkyDrive File? How the file was generated?

    Best regards,


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, June 19, 2013 12:37 PM