[Bug] Problems with encoding callback parameters

Dieses Thema im Forum "Problems" wurde erstellt von sourcemaker, 22. April 2012.

  1. sourcemaker

    sourcemaker Neuling

    Beiträge:
    3
    Punkte für Erfolge:
    1
    Hi glizer-devs,

    "we have a situation here"...
    The callback between glizer and our local script seems broken.

    The access.log contains some strage -unencoded- entries:
    GET /ban_callback.php?reason=Griefing and stealing &user=censored&change=-100&from=censored HTTP/1.0" 200 27

    Could you urlencode() the parameters? The GET should be something like this:
    GET /ban_callback.php?reason=Griefing%20and%20stealing%20&user=censored&change=-100&from=censored HTTP/1.0" 200 27

    I'm wondering, why there's a space behind the reason. This should be trim()'ed too :-)

    Thanks from a happy serveradmin
     
  2. Keks1907

    Keks1907 Mitglied

    Beiträge:
    7
    Punkte für Erfolge:
    1
    Re: [Bug] Problems with encoding callback parameters

    Hi Glizer-Team!
    It seems like the bug isn't fixed yet, right?

    ~ Keks1907
     

Diese Seite empfehlen