forums.thedailywtf.com vs what.thedailywtf.com
-
If I go to http://forums.thedailywtf.com, click login, log in with Google, I get redirected to http://what.thedailywtf.com and I can see that I'm logged in.
Go back to http://forums.thedailywtf.com and I'm logged out.
-
E_NO_REPRO
Attempting to go to http://forums.thedailywtf.com while logged in just redirects me to http://what.thedailywtf.com
Chrome 57.0.2987.133
-
Try it with a link like
https://forums.thedailywtf.com/topic/21368/samsung-insisting-on-tizen
-
@marczellm I was logged out
-
@blubar your redirector has problem ?
-
@marczellm Ok, yeah that one does that. Curious.
-
So... the bug is the login cookie doesn't get shared between two different domains? Isn't that, y'know, the right behaviour?
-
Ah, reminds me of the old logout
GET
request on CS.
-
@RaceProUK said in forums.thedailywtf.com vs what.thedailywtf.com:
So... the bug is the login cookie doesn't get shared between two different domains? Isn't that, y'know, the right behaviour?
Either the link https://forums.thedailywtf.com/topic/21368/samsung-insisting-on-tizen should redirect to the equivalent what.thedailywtf.com link so that I don't get confused by being logged in and logged out at once, or logging in on forums should not redirect to what.
-
@RaceProUK @ben_lubar Wasn't forums.thedailywtf.com what was used to test NodeBB prior to the migration from Discourse?
Is there a reason the alternate domain is still necessary?
Edit: Nevermind, I suppose it's useful enough as a permanent redirect for people who would be used to the "forums.X.com" domain structure most places implement as opposed to remembering "what" or going to the front page.
-
@e4tmyl33t Actually, forums.thedailywtf.com was the URL of the original Community Server forum. And for a while, it was pointing to a read-only back-up @blakeyrat was hosting after the switch to Discourse.
-
It looks like nginx is set up to
301
any forums.thedailwtf.com link to what.thedailywtf.com with thes/forums/what/
replacement being the only thing that it does. But, uh, my nginx config-fu is weak and I have no idea how this would affect cookies.No doubt @ben_lubar could say more about this.
-
@e4tmyl33t said in forums.thedailywtf.com vs what.thedailywtf.com:
Edit: Nevermind, I suppose it's useful enough as a permanent redirect for people who would be used to the "forums.X.com" domain structure most places implement as opposed to remembering "what" or going to the front page.
I think it was more for CS era links. IIRC there's also some mechanism in place to map old thread numbers to current stuff.
-
I'm logged with two usernames at the same time at https://what.thedailywtf.com and https://forums.thedailywtf.com
-
@boomzilla sticky sessions?
-
@boomzilla said in forums.thedailywtf.com vs what.thedailywtf.com:
It looks like nginx is set up to 301 any forums.thedailwtf.com link to what.thedailywtf.com with the s/forums/what/ replacement being the only thing that it does.
forums.thedailywtf.com is just working for me like if what.thedailywtf.com didn't exist
-
@sockpuppet7 said in forums.thedailywtf.com vs what.thedailywtf.com:
@boomzilla said in forums.thedailywtf.com vs what.thedailywtf.com:
It looks like nginx is set up to 301 any forums.thedailwtf.com link to what.thedailywtf.com with the s/forums/what/ replacement being the only thing that it does.
forums.thedailywtf.com is just working for me like if what.thedailywtf.com didn't exist
huh........
E_NOT_A_BUG
E_WORKING_AS_DESIGNED
-
@marczellm Why are you using http instead of https?
-
@abarker said in forums.thedailywtf.com vs what.thedailywtf.com:
@marczellm Why are you using http instead of https?
because @blubar messeed up the njinx config to allow access to the httpsite in a non "redirect to https" way?
though...... probably not a good idea to ask him to fix it, who knows what else he'd chnage while he was in there?
-
@boomzilla said in forums.thedailywtf.com vs what.thedailywtf.com:
But, uh, my nginx config-fu is weak and I have no idea how this would affect cookies.
Wouldn't it depend more on which domain is being specified for the cookie by the software creating them? I mean, cookies apply to that (sub)domain and any subdomains it has.
-
@boomzilla said in forums.thedailywtf.com vs what.thedailywtf.com:
It looks like nginx is set up to
301
any forums.thedailwtf.com link to what.thedailywtf.com with thes/forums/what/
replacement being the only thing that it does. But, uh, my nginx config-fu is weak and I have no idea how this would affect cookies.No doubt @ben_lubar could say more about this.
Ok, it looks like the default catch-all handler for HTTPS was removed at some point, so it was just going to the what.thedailywtf.com handler, which doesn't redirect. Fixed.
Also fixed: the new path for uploads and nodebb.min.js not being cached.
-
@accalia said in forums.thedailywtf.com vs what.thedailywtf.com:
@abarker said in forums.thedailywtf.com vs what.thedailywtf.com:
@marczellm Why are you using http instead of https?
because @blubar messeed up the njinx config to allow access to the httpsite in a non "redirect to https" way?
though...... probably not a good idea to ask him to fix it, who knows what else he'd chnage while he was in there?
Well, I mean, they did eventually get https working on the main site, right? But since it's referencing stuff to the normal http endpoint, Chrome still complains...
-
@ben_lubar said in forums.thedailywtf.com vs what.thedailywtf.com:
Fixed.
-
@accalia said in forums.thedailywtf.com vs what.thedailywtf.com:
@ben_lubar said in forums.thedailywtf.com vs what.thedailywtf.com:
Fixed.
If you really need two accounts logged in at once, most browsers support multiple profiles, and if you're using one that doesn't, you can just open one that does for the alternative account.
-
@ben_lubar said in forums.thedailywtf.com vs what.thedailywtf.com:
@accalia said in forums.thedailywtf.com vs what.thedailywtf.com:
@ben_lubar said in forums.thedailywtf.com vs what.thedailywtf.com:
Fixed.
If you really need two accounts logged in at once, most browsers support multiple profiles, and if you're using one that doesn't, you can just open one that does for the alternative account.
-
@ben_lubar said in forums.thedailywtf.com vs what.thedailywtf.com:
If you really need two accounts logged in at once,
most browsers support multiple profiles, and if you're using one that doesn't, you can just open one that does for the alternative account
don't.