Bug 29763 - [Gtk] Epiphany doesn't load Chillispot authentication form
Summary: [Gtk] Epiphany doesn't load Chillispot authentication form
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2009-09-26 05:08 PDT by Priit Laes (IRC: plaes)
Modified: 2021-05-06 01:59 PDT (History)
3 users (show)

See Also:


Attachments
portal_redirect.txt (1.38 KB, text/plain)
2009-09-26 05:08 PDT, Priit Laes (IRC: plaes)
no flags Details
portal_js.txt (1.03 KB, text/plain)
2009-09-26 05:09 PDT, Priit Laes (IRC: plaes)
no flags Details
chillijs_chi.txt (33.05 KB, text/plain)
2009-09-26 05:10 PDT, Priit Laes (IRC: plaes)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2009-09-26 05:08:58 PDT
Created attachment 40165 [details]
portal_redirect.txt

My campus uses chillispot for network authentication, but epiphany doesn't load/show the authentication form.

Although, I do not have full details on how it fully works, this is the situation:

1) When user requests an URL and his/hers MAC is not authenticated, he gets following response:
302 Moved temporarily
Location:	http://172.17.0.1:3990/www/portal.html?loginurl=https%3a%2f%2fpath-to-chillispot-server%2fuam%2f%3fres%3dnotyet%26uamip%3d172.17.0.1%26uamport%3d3990%26challenge%3d99e25b81affffe9b4dffcf6ff5cacd49%26mac%3d00-13-ff-ff-ff-ff%26ip%3d172.17.xxx.yyy%26called%3d00-1B-ff-ff-ff-ff%26nasid%3dobfuscated%26userurl%3dhttp%253a%252f%252fwebkitgtk.org%252f
2) portal.html uses javascript redirect to load a new page (see portal_redirect.txt for code). This new url is:
https%3a%2f%2fpath-to-chillispot-server%2fuam%2f%3fres%3dnotyet%26uamip%3d172.17.0.1%26uamport%3d3990%26challenge%3d99e25b81affffe9b4dffcf6ff5cacd49%26mac%3d00-13-ff-ff-ff-ff%26ip%3d172.17.xxx.yyy%26called%3d00-1B-ff-ff-ff-ff%26nasid%3dobfuscated%26userurl%3dhttp%253a%252f%252fwebkitgtk.org%252f
3) New page is simple html page that calls portal.js (see portal_js.txt for code)
4) From portal.js, another javascript file is loaded - http://172.17.0.1:3390/www/chillijs.chi (see chillijs_chi.txt for contents)

This is the last thing that is loaded when using epiphany

5) (now with firefox) Another script gets loaded - http://172.17.0.1:3390/www/chillijs.chi ... that contains the innerhtml containing login form.
Comment 1 Priit Laes (IRC: plaes) 2009-09-26 05:09:40 PDT
Created attachment 40166 [details]
portal_js.txt
Comment 2 Priit Laes (IRC: plaes) 2009-09-26 05:10:15 PDT
Created attachment 40167 [details]
chillijs_chi.txt
Comment 4 Martin Robinson 2021-05-06 01:59:59 PDT
Sadly, I think too much time has passed and there isn't really enough information here to replicate the bug easily.