Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


This forum is in read only mode, you can no longer reply
  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    May 28, 2015 @ 13:44
    Ismail Mayat
    0

    Encoding issue

    Using latest version of image processor from nuget, I have in my elmah error logs error for url

    http%3A%2F%2Faz725705.vo.msecnd.net%2Fmedia%2F15041%2Fjules_heptonstall_9_hanna_hillier_mobile.jpg%3Fcrop=0%2C0%2C0%2C0.25&cropmode=percentage&width=300&height=300&rnd=130688161400000000

    Its encoded the request being made is

    http://mysite/remote.axd/http%3A%2F%2Faz725705.vo.msecnd.net%2Fmedia%2F15041%2Fjules_heptonstall_9_hanna_hillier_mobile.jpg%3Fcrop=0%2C0%2C0%2C0.25&cropmode=percentage&width=300&height=300&rnd=130688161400000000

    I get error

    Illegal characters in path.

    This request is coming from facebook share even when i manually remove protocol it still errors. Is there a way to get encoded url to work?

    Regards

    Ismail

  • James Jackson-South 489 posts 1747 karma points c-trib
    May 30, 2015 @ 00:02
    James Jackson-South
    0

    Dude, you're gonna have to stop encoding all this stuff. Commas are legal url characters.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    May 30, 2015 @ 00:08
    Ismail Mayat
    0

    Not us encoding its Facebook think its share thing which is generating a preview image.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jun 04, 2015 @ 13:02
    Ismail Mayat
    0

    James,

    Since the upgrade the remote.axd errors has dropped significantly at the moment we are getting some parameter is not valid but all seem to be from opera mini / android users i believe it roots through their servers and compresses, so for now we are happy. Many thanks for your help and for an awesome umbraco package.

    Regards

    Ismail

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 04, 2015 @ 14:36
    James Jackson-South
    0

    Ah wizard! Great to hear!

    I'm gonna have a look at tightening up the parsers for list of items to see if I can ensure Facebook doesn't mess stuff up. I'd love to know what Oper mini is doing to the urls so if you have any info you could share on Github that wouldbe ace

    Cheers

    James

Please Sign in or register to post replies

Write your reply to:

Draft