Illegal URL characters in redirected URL

oshri

Portal Member
November 29, 2010
48
6


Hi,
I'm trying to build another Israeli TV site with the generic site creator and i have a problem.
The final redirected URL name has the "|" sign in it which is an illegal URL character and should be replaced with %7C
I cant replace it because I can see it only at the end when another site redirects to it.
What should i do?

Thanks
Oshri
 

oshri

Portal Member
November 29, 2010
48
6
Just in the last dropbox (the one with the play button on the side)
and only when i push the "get redirected URL" checkbox
 

oshri

Portal Member
November 29, 2010
48
6
I think i foun a way around the problem but now i got another problem.
to fix the illegal characters i need to do a regex for: h.t.t.p://switch206-01.castup.net/cunet/gm.asp?ClipMediaID=6373992&ak=null&ai=206
But i get an out of memory error.
What could be the reason for that?
 

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,981
    113
    Stuttgart
    Country flag
    The regex engine is greedy on some expression (like .*) and you can make it run in circles thus after a while runing out of memory. Try to avoid those wildcards.
     

    oshri

    Portal Member
    November 29, 2010
    48
    6
    Maybe i was misunderstood,

    h.t.t.p://switch206-01.castup.net/cunet/gm.asp?ClipMediaID=6373992&ak=null&ai=206

    is in PlayListUrlResult and i get the out of memory error when i push the "create regex" button
     

    oshri

    Portal Member
    November 29, 2010
    48
    6
    i made some progress
    when i change http to mms it's working in VLC but not in graph studio or in media portal.

    this is the stream: mms://switch206-01.castup.net/cunet/gm.asp?clipmediaid=6373992&ak=null&ai=206

    why it's working only in vlc?

    Thanks
    Oshri
     

    oshri

    Portal Member
    November 29, 2010
    48
    6
    Found out what is the problem but i don't know how to fix it.
    When mms://switch206-01.castup.net/cunet/gm.asp?clipmediaid=6373992&ak=null&ai=206 is played a cookie is sent which enables the redirected video to work
    the problem is that there are illegal characters in the redirection.
    So if there was url encoding at the end the problem would be solved.
    I don't know how to proceed from here

    Thanks
    Oshri
     

    doskabouter

    Community Plugin Dev
  • Premium Supporter
  • September 27, 2009
    2,952
    113
    Nuenen
    Country flag
    I looked into your problem, but I got stuck too, because of geo-blocking. Apparently, only israelian people are allowed to watch those videos :(
    However, if cookies are the problem, you must write your own util in c# to handle that correctly.
     
    Top Bottom