If you supply an invalid value to loginsubmit as an URL parameter you will get an internal error as well as a traceback in the log. To reproduce you can add this to the webaccess urul: "?loginsubmit=somethingThatIsntAnumber" Like this: https://tl.cendio.se:300/main/?loginsubmit=a1 This is the traceback in the log: 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] ---------------------------------------- 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] Traceback (most recent call last): 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] File "/opt/thinlinc/sbin/tlwebaccess", line 275, in post_or_get 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] Ii1I , ooo00OOOooO = getattr ( oOOo0 , action ) ( OOoO , oooooOoo0ooo , Ii1I ) 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] File "/opt/thinlinc/modules/thinlinc/tlwebaccess/tlwebsvcmain.py", line 107, in do_GET 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] self . _GET_METHODS . get ( page_name , self . error_404 ) ( query ) ) 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] File "/opt/thinlinc/modules/thinlinc/tlwebaccess/main.py", line 75, in home 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] loginsubmit = query.get("loginsubmit", [0])[0] 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] ValueError: invalid literal for int() with base 10: 'a1' 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] ---------------------------------------- 2019-09-18 12:30:34 ERROR tlwebaccess[23990]: [::1] code 500, message Internal error on page '/main/?loginsubmit=a1' 2019-09-18 12:30:34 INFO tlwebaccess[23990]: [::1] 'GET /main/?loginsubmit=a1 HTTP/1.1' 500 -
This should be fixed now. Test by adding loginsubmit to the URL with a value that can't be casted to an int.
Looks good and seems to work well.