This is one of the high priority task still pending. Due to this the app can't be useful outside PU@Campus and hence is blocking release anywhere outside.
The chief goal is to get the url dynamically instead of hard-coded string (http:172....).
There are two type of cases where this happens . . .
CASE 1: Redirections 302
- I created this code to test redirections in PU@Campus http://fpaste.org/144654/
- PU@Campus is weird, it sometimes redirects and sometimes serves a local page instead that redirects.
- It isn't completly successful but works in some situations.
CASE 2: Local server serves page instead of google.com which redirects (UIET, PU@Campus sometimes does this)
- We need to figure out a way to distinguish normal google homepage from the one served to us.
- Then we need to parse that page data to get the url, which is easy (RegEx).
- Then we need to find out what the username and password field's id are in response. This is tough part I guess. Let's reach till the above point and then we'll figure out a solution for this phase too.
This is one of the high priority task still pending. Due to this the app can't be useful outside PU@Campus and hence is blocking release anywhere outside.
The chief goal is to get the url dynamically instead of hard-coded string (http:172....).
There are two type of cases where this happens . . .
CASE 1: Redirections 302
CASE 2: Local server serves page instead of google.com which redirects (UIET, PU@Campus sometimes does this)