mymacca's App Cannot Handle + in Email Addresses

So the mymacca's app (Android) has never worked for me. I was able to log in, pick a store, even add my card details to my account… but I could never see any offers (would get an error dialog saying "Looks like we're having trouble connecting. Please try again."), nor actually, you know, order something.

Today I decided to intercept the app's communications to figure out what on earth was going on.

Within about 5 seconds, I could see the problem. I saw that the response for the request for available offers was only 20 bytes: {"ResultCode":-1037}.

As it turns out, when the app loads the available offers, it also sends your email address in the URL.

Except it's not URL encoded properly. My email address has a + (which, fun fact, usually means space in a URL).

If I fixed up the request to actually URL encode the email address correctly, I got a 1.5 KB response. Quite the difference.

But yeah, PSA: plus signs break the mymacca's app, in case anyone else has been having the same issues as me.

Related Stores

McDonald's
McDonald's

Comments

  • +2

    username checks out

  • I didn't even know the + could be used in an email address!

    • It's most commonly used in plus addressing, which was probably most popularised by Gmail. Basically, if your email address is [email protected], then example+[anything-here]@gmail.com also goes to your inbox.

      • +1

        Your 'what' is missing its 'why' - outing spammers basically.

        If spam starts coming in addressed to [email protected]; guess who leaked it.

  • +2

    Thanks I was dying to know this information

  • okty

  • +1

    (which, fun fact, usually means space in a URL).

    I always thought it was more technically correct to use %20

  • +2

    Good on you, now how many more of the issues with the app can you discover, experience tells me there is plenty.

Login or Join to leave a comment