dobesv commented on issue #1787: DRILL-7203: Back button not working URL: https://github.com/apache/drill/pull/1787#issuecomment-588560808 Yeah, I'll see if I have time for that. If the strict REST API approach is preferred, then the page should use the REST API and operate more like a single-page application that sends and receives JSON payloads. For now that is probably too big of a project - changing this to submit the username as a form field should be fairly straightforward. On 2/19/2020 11:20:59 AM, Paul Rogers <[email protected]> wrote: @dobesv [https://github.com/dobesv] thanks much for digging into this issue. Your knowledge of web front-end mechanics is greatly appreciated. My guess is that we've got an issue where someone confused a REST API with web page display. As far as I can tell, the original design of the Web console was as a set of REST calls, with the HTML UI added later. So, not surprising we ended up with this mess. Seems reasonable to me that, for REST calls, the user name is in a header. But, for web pages, we put the data in the normal places: a cookie, a page parameter (for GET) or a form field (for POST). Do you want to try a fix to see if you can make your solution work? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [https://github.com/apache/drill/pull/1787?email_source=notifications&email_token=AACQBGLCUSQM7MGJGROLZPDRDWBBXA5CNFSM4HMJDBUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMJEJFY#issuecomment-588399767], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AACQBGONV2TFO5MC4GGP7SLRDWBBXANCNFSM4HMJDBUA].
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
