https-everywhere icon indicating copy to clipboard operation
https-everywhere copied to clipboard

myfitnesspal.com partially broken

Open ghost opened this issue 9 years ago • 6 comments

This is a food diary/fitness tracking site, and on it, with HTTPS Everywhere forcing secure connections to MyFitnessPal, most lists of food items don't load properly, with the following or similar appearing in the browser console: XMLHttpRequest cannot load https://www.myfitnesspal.com/food/load_recent. Response for preflight is invalid (redirect)

Additionally, if a list is working, attempting to add an item from it to the food diary will trigger the site's "under maintenance" message, with the following appearing in the browser console: POST https://www.myfitnesspal.com/food/add_favorites 502 (Bad Gateway)

ghost avatar Jul 12 '17 04:07 ghost

Thank you for your report.

Can you post an example URL where this happens? Also do we need an account for this?

Bisaloo avatar Jul 12 '17 10:07 Bisaloo

This is the main one, though the query string is irrelevant, it happens with all meals. http://www.myfitnesspal.com/food/add_to_diary?meal=0 And yes, unfortunately the functionality that's broken is adding food items to the list of what you've eaten today, which is a list you won't have without an account.

ghost avatar Jul 12 '17 16:07 ghost

Okay, I completely disabled the ruleset anyways. The https support seems sporadic and buggy.

My main concern is that the broken functionality might be due to another ruleset interfering.

Could you please test if you can reproduce when you disable the MyFitnessPal ruleset? (you can do so by clicking on it in the dropdown menu)

Bisaloo avatar Jul 12 '17 16:07 Bisaloo

When I said "with HTTPS Everywhere forcing secure connections to MyFitnessPal", I meant to imply that this only happens with the MyFitnessPal ruleset enabled. Turning it off fixes the issue without HTTPS Everywhere needing to be disabled. Sorry for the confusion, I haven't spent enough time around this project to know how to refer to things clearly.

ghost avatar Jul 12 '17 17:07 ghost

Great! #11033 should fix it then.

Hopefully, it will be included in the next release (https://github.com/EFForg/https-everywhere/issues/10888).

Please report back if you still have issues after that.

Bisaloo avatar Jul 12 '17 17:07 Bisaloo

Reported in the Tor Project trac ticket as well: https://trac.torproject.org/projects/tor/ticket/22887

HTTPSNowhere avatar Jul 13 '17 11:07 HTTPSNowhere