Skip to content

Only redirect when redirect url is an internal page. - #499

Merged
dianakhuang merged 1 commit into
masterfrom
diana/login-redirect
Jul 30, 2013
Merged

Only redirect when redirect url is an internal page.#499
dianakhuang merged 1 commit into
masterfrom
diana/login-redirect

Conversation

@dianakhuang

Copy link
Copy Markdown
Contributor

@cpennington @brianhw Review, please?

@brianhw

brianhw commented Jul 25, 2013

Copy link
Copy Markdown
Contributor

It would be great to have a test of this somewhere.

@cpennington

Copy link
Copy Markdown
Contributor

Studio has the same redirect logic in their login page. Can you update that too?

Comment thread lms/templates/login.html Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/whther/whether

@dianakhuang

Copy link
Copy Markdown
Contributor Author

All acceptance tests pass: http://jenkins.edx.org:8080/job/release-acceptance-tests/51/

Comment thread cms/templates/login.html Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can this be moved into a common location so that the same function is not duplicated in LMS and CMS code?

@dianakhuang

Copy link
Copy Markdown
Contributor Author

Addressed feedback and verified that acceptance tests are passing: http://jenkins.edx.org:8080/job/release-acceptance-tests/53/

Comment thread common/static/js/utility.js Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this RegExp deserves a comment as well -- that the port should be stripped from the end of the authority if it matches the default port for the protocol.

@brianhw

brianhw commented Jul 29, 2013

Copy link
Copy Markdown
Contributor

Just add a few comments, and 👍

@cpennington

Copy link
Copy Markdown
Contributor

👍

dianakhuang added a commit that referenced this pull request Jul 30, 2013
Only redirect when redirect url is an internal page.
@dianakhuang
dianakhuang merged commit 0d10a87 into master Jul 30, 2013
@dianakhuang
dianakhuang deleted the diana/login-redirect branch July 30, 2013 12:29
chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
Added optional <wiki> tag to course to specify an alternative wiki page.
Kelketek referenced this pull request in open-craft/openedx-platform Sep 17, 2015
diegomillan pushed a commit to eduNEXT/edx-platform that referenced this pull request Sep 14, 2016
* stv/oars-rebased:
  Require instructors to activate account for API
  Add roster endpoint to enrollment API and update OLI tracking
xavierchan added a commit to xavierchan/edx-platform-1 that referenced this pull request Mar 23, 2020
feat(hmm): create hmm account by activate
yoann-mroz pushed a commit to weuplearning/edx-platform that referenced this pull request Nov 30, 2020
Sujeet1379 pushed a commit to chandrudev/edx-platform that referenced this pull request Nov 17, 2022
REV-2233: The upsell banner now duplicates the sidebar banner. Removing it in favor of the new implementation on course home, but keeping the masquerade message that shows instructors when a learner lost access to the course.
Danyal-Faheem pushed a commit to Danyal-Faheem/edx-platform that referenced this pull request Jul 15, 2025
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: ahmed-arb <ahmed-arb@users.noreply.github.com>
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