Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggies sprint9 staging merge #100

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open

Conversation

wwelling
Copy link
Member

No description provided.

Copy link
Contributor

@kaladay kaladay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a setting to allow toggling between using OKAPI and going directly to mod-workflow as is done in the previous behavior.

We still need and still use the direct to mod-workflow behavior.

}
}
if (maybe.length > 0) {
return maybe[0].substring(token.length + 1, maybe[0].indexOf(';'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This string folioAccessToken; should not match but might (And also folioAccessTokenBlahBlahBlah=...;).

Please use more precise matching to at least make sure the format is like that described in the regex: /folioAccessToken=([^;\s]*)/gi;, such as /$token=([^;\s]*)/gi; (assuming the $token variable gets expanded appropriately in a regex statement).

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