Ticket #1141 (closed clarification: fixed)

Opened 18 months ago

Last modified 18 months ago

Invalid link sent to the secureRedirect.action from Related or Comments tab

Reported by: rcave Owned by: rcave
Priority: high Milestone: 0.9.2
Component: ambra Version: 0.9.1_rc1
Keywords: Cc:

Description

Try to login from the Related or Comment tab. The redirect link is invalid.

From Related tab:

http://<URL>/article/related/info%3Adoi%2F10.1371%2Fjournal.pcbi.1000140&amp=

The link sent to the secureRedirect.action is bogus:

http://<URL>/user/secure/secureRedirect.action?goTo=%2Farticle%2Frelated%2Finfo%3Adoi%2F10.1371%2Fjournal.pcbi.1000140%26amp%3D%3FarticleURI%3Dinfo%253Adoi%252F10.1371%252Fjournal.pcbi.1000140%26amp%3D

Redirects to an invalid page (not the Related tab):

http://<URL>/article/related/info:doi/10.1371/journal.pcbi.1000140&target=info:doi/10.1371/journal.pcbi.1000140&amp=&amp=?articleURI=info%3Adoi%2F10.1371%2Fjournal.pcbi.1000140&amp=

Change History

  Changed 18 months ago by josowski

(In [7406]) Invalid links are being sent to the secure redirect page when viewing the related or comments tab of the article page. This minor change corrects the issue.

References #1141

  Changed 18 months ago by josowski

  • owner changed from josowski to rich
  • type changed from defect to clarification

follow-up: ↓ 4   Changed 18 months ago by rcave

  • owner changed from rich to josowski
  • type changed from clarification to defect

Related article and Comments tab still redirect to an invalid page:

/cas/login?service=http%3A%2F%2Fplosone-branch.plos.org%3A8080%2Fuser%2Fsecure%2FsecureRedirect.action%3FgoTo%3D%252Farticle%252Frelated%252Finfo%25253Adoi%25252F10.1371%25252Fjournal.pone.0003083%253FarticleURI%253Dinfo%25253Adoi%25252F10.1371%25252Fjournal.pone.0003083

Redirects to an invalid URL

/article/related/info%3Adoi%2F10.1371%2Fjournal.pone.0003083?articleURI=info%3Adoi%2F10.1371%2Fjournal.pone.0003083

in reply to: ↑ 3   Changed 18 months ago by rcave

Replying to rich:

Related article and Comments tab still redirect to an invalid page:

Argh! The templates didn't update correctly. The related article and comments tab work. BUT the research article tab doesn't work. It redirects to:

http://<URL>/article/info%3Adoi%2F10.1371%2Fjournal.pntd.0000257?articleURI=info%3Adoi%2F10.1371%2Fjournal.pntd.0000257

Rather than:

http://<URL>/article/info%3Adoi%2F10.1371%2Fjournal.pntd.0000257

  Changed 18 months ago by josowski

(In [7428]) Made the regular expression for generating the "thisPage" variable a little less greedy.

References #1141

  Changed 18 months ago by josowski

  • owner changed from josowski to rich
  • type changed from defect to clarification

  Changed 18 months ago by rcave

  • status changed from new to closed
  • resolution set to fixed

Verified that the redirect link from the research article, related article and comments tab function properly.

Note: See TracTickets for help on using tickets.