DirectEmployers/MyJobs — pull request #407 by galitskyd (2013-10-07 17:30:34+00:00)
Title: Fix My.Jobs Redirects SSL Friendly[MJ-626]

Changed login looking for a GET field 'next' opposed to looking at the http_referer

Found an accidental overwrite of django's redirection on dectorators.py causing paths that had no query strings to not receive a next from django. The top if statement is the one that gets hit by users that are not logged on.

There were a few special cases that redirecting back to did not make sense, those are covered in the if statement.

All Tests Pass