Bug 5220 - tlwebaccess does not have to be limited to /home and /agent paths
Summary: tlwebaccess does not have to be limited to /home and /agent paths
Status: CLOSED WONTFIX
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.13.0
Assignee: Pierre Ossman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-19 15:26 CEST by Karl Mikaelsson
Modified: 2020-09-29 08:57 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Karl Mikaelsson cendio 2014-08-19 15:26:22 CEST
Right now, there's only two paths handled by the main module of tlwebaccess: home and agent. This means that we're using query parameters to determine which action the home function should take. This isn't very pretty and it makes the code hard to read and understand. Having more paths/functions would make each path/function have a more narrow scope.
Comment 1 Pierre Ossman cendio 2020-09-29 08:57:38 CEST
I don't see what more we need. We basically have two states, logging in or logged in. So having two pages that maps to those two states seem reasonable.

And we don't use query parameters normally (although we unofficially support them) as forms should be submitted by POST. And I don't see any data there that would fit better as part of the URL.

Note You need to log in before you can comment on or make changes to this bug.