Skip to content

Fix an errant regex check that doubly base64 encoded Geogebra applet states (hotfix)#751

Merged
pstaabp merged 1 commit intoopenwebwork:mainfrom
drgrice1:bugfix/double-base64-encoding-hotfix
Dec 3, 2022
Merged

Fix an errant regex check that doubly base64 encoded Geogebra applet states (hotfix)#751
pstaabp merged 1 commit intoopenwebwork:mainfrom
drgrice1:bugfix/double-base64-encoding-hotfix

Conversation

@drgrice1
Copy link
Member

I disovered this thanks to an observation of @drdrew's while attempting to diagnose an issue with a Geogebra problem written by another author. It turns out that one part of the problem was the applet state being doubly base64 encoded.

…states.

I disovered this thanks to an observation of @drdrew's while attempting
to diagnose an issue with a Geogebra problem written by another author.
It turns out that one part of the problem was the applet state being
doubly base64 encoded.
@drdrew42
Copy link
Member

Thanks! 🙏

@pstaabp
Copy link
Member

pstaabp commented Nov 30, 2022

I'll take @drdrew42 approval as enough, unless you want more testing. If more testing is requested, what pg problem does this fix the problem for?

@drgrice1
Copy link
Member Author

Here is the problem that was causing the issue:
AP_Lab1_problem4.pg.txt

Without this pull request the state is double encoded when answers are submitted.

@pstaabp
Copy link
Member

pstaabp commented Nov 30, 2022

With that problem, upon submission the values in the geogebra table stay. Values were being cleared out (on the develop branch), so I think this may have been the issue and may be fixed.

However, any answers in the geogebra table are not being submitted as WeBWorK answers. Should they be?

@drgrice1
Copy link
Member Author

They should not be submitted as webwork answers. That is not implemented in the problem.

@pstaabp pstaabp merged commit 99fd91f into openwebwork:main Dec 3, 2022
@drgrice1 drgrice1 deleted the bugfix/double-base64-encoding-hotfix branch December 3, 2022 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants