Some links result in "Please log in first" even while logged in #6

Closed
opened 2026-04-10 18:48:47 +02:00 by jakob · 3 comments
Owner

Working as intended:

  • Clicking "Transactions" or "View all transactions" from the Dashboard page seem to work.

Not working:

  • Clicking "Transactions" from the transaction page results in "Please log in first"
  • Clicking "Logout" from the transaction page results in "please log in first"
Working as intended: - Clicking "Transactions" or "View all transactions" from the Dashboard page seem to work. Not working: - Clicking "Transactions" from the transaction page results in "Please log in first" - Clicking "Logout" from the transaction page results in "please log in first"
jakob added the bug label 2026-04-10 18:48:47 +02:00
Author
Owner

More information:

The link "View Transactions" on the dashboard page is as follows:
http://localhost:8080/transactions?session=MTg0Ng==

The link "Transactions" on the transactions page is as follows:
http://localhost:8080/dashboard?session=MTg0Ng==%3EDashboard%3C/a%3E%20|%20%20%20%20%20%20%20%20%20%3Ca%20href=

More information: The link "View Transactions" on the dashboard page is as follows: http://localhost:8080/transactions?session=MTg0Ng== The link "Transactions" on the transactions page is as follows: http://localhost:8080/dashboard?session=MTg0Ng==%3EDashboard%3C/a%3E%20|%20%20%20%20%20%20%20%20%20%3Ca%20href=
Author
Owner

The problem was missing closing quotation marks for the hrefs. Fixed in 3486fbd

The problem was missing closing quotation marks for the hrefs. Fixed in 3486fbd
jakob closed this issue 2026-04-10 19:24:54 +02:00
Collaborator

Fixed in recent commits. The issue was missing quotation marks in HTML href attributes. Updated server now outputs proper HTML: <a href="/transactions?session={}">. Try clearing browser cache and logging in again.

Fixed in recent commits. The issue was missing quotation marks in HTML href attributes. Updated server now outputs proper HTML: `<a href="/transactions?session={}">`. Try clearing browser cache and logging in again.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jakob/rusty-petroleum#6