openlab-at-city-tech / webworkqa

WeBWorK integration for WordPress and BuddyPress
GNU General Public License v2.0
4 stars 2 forks source link

Cannot Ask a Question on Mobile #53

Closed bree-z closed 7 years ago

bree-z commented 7 years ago

I'm on iOS 10/Safari.

After clicking Ask a Question from WW, the post_data_key param does not appear to be passed. I just end up at http://openlabdev.org/webwork-playground/ with nowhere to ask my question.

WW URL: http://mathww.citytech.cuny.edu/webwork2/WW-Dev/CompoundInterest/1/?key=esvrg7KNPgvyEbWH4MWwA3e9Bu4UeZeN&user=student1&effectiveUser=student1

cc @moui72

bree-z commented 7 years ago

And not sure if the screenshot is helpful here, but here it is:

mobileaskaquestion

bree-z commented 7 years ago

Sorry! Just realized I pasted the wrong URL. I tested this twice - once with the student11 account and a second time with bzuckerman. Here's the URL from the second mobile test:

http://mathww.citytech.cuny.edu/webwork2/WW-Dev/CompoundInterest/1/?effectiveUser=student1&user=bzuckerman&key=a1MIK1czBY6diDBlKALe2mPYZL4rtdI7

But it appears I was bzuckerman "acting as" student1. I'll test again from scratch just to be sure...

bree-z commented 7 years ago

No, I get the same result. I tried again as student1 on this problem:

http://mathww.citytech.cuny.edu/webwork2/WW-Dev/CompoundInterest/1/?key=0UHRERBK33suHrGIRbFavQs3S9VmITL3&user=student1&effectiveUser=student1

One more thing though, I did get a warning about OLdev as a possible phishing site. I ignored the warning, but just fyi in case that's part of the problem.

boonebgorges commented 7 years ago

I've reproduced, but only on iOS Safari, not any Android browser. I'm guessing it's due to the phishing notice. I'll look into it.

On 09/29/2016 02:05 PM, bree-z wrote:

No, I get the same result. I tried again as student1 on this problem:

http://mathww.citytech.cuny.edu/webwork2/WW-Dev/CompoundInterest/1/?key=0UHRERBK33suHrGIRbFavQs3S9VmITL3&user=student1&effectiveUser=student1

One more thing though, I did get a warning about OLdev as a possible phishing site. I ignored the warning, but just fyi in case that's part of the problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/livinglab/webwork-for-wordpress/issues/53#issuecomment-250561212, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPDY_ChFP0fW5iXTAwqjr6tahOVEwZ2ks5qvAvwgaJpZM4KKU1N.

boonebgorges commented 7 years ago

I believe I've confirmed that it's the "phishing" notice. @bree-z, please try the following:

Then try the WW-OL handshake again. It should work.

What must be happening is that Safari is discarding the contents of the POST request when it inserts the warning.

If it's working for you with the Settings change, we can probably close this ticket. It won't be an issue on the production site, where we don't have to send HTTP auth credentials as part of the URL. (Also, you can change your settings back if you'd like :) )

bree-z commented 7 years ago

Ok, looks good, thanks!

Closing this one. :)