These are chat archives for codexa/firetext

8th
Dec 2015
Joshua Smith
@joshua-s
Dec 08 2015 02:17
The redirect is not proxying the get parameters
Joshua Smith
@joshua-s
Dec 08 2015 04:23
If it's easier for you, we can just use the heroku url for this release. The url isn't exposed in the interface anywhere.
Daniel Huigens
@twiss
Dec 08 2015 14:42
Yeah, it may be easier, but then we have three urls to worry about. Query parameters are forwarded now.
Joshua Smith
@joshua-s
Dec 08 2015 15:00
It works when I directly place the url into a browser. However, I am still receiving CORs
Trying to find a solution
Got it!
Joshua Smith
@joshua-s
Dec 08 2015 15:08
Actually, it still doesn't work. Does the redirect affect the Access-Control-Allow-Origin header?
Daniel Huigens
@twiss
Dec 08 2015 15:25
I can see the header in the browser
Joshua Smith
@joshua-s
Dec 08 2015 15:51
It works. Must have been a platform bug, because restarting solved it
Daniel Huigens
@twiss
Dec 08 2015 17:23
Alright, https://www.airbornos.com/firetext now also works. POST also works now. The only shame is that for oauth1, the page receives a query paramter with the oauth token, which means no cdn caching.
Also, the heroku dyno is permanently on now
Joshua Smith
@joshua-s
Dec 08 2015 17:28
Fabulous! We won't be using airborn url for oauth1 anyways (I can't redirect the subdomain). So, that should be fine :)
Daniel Huigens
@twiss
Dec 08 2015 17:40
I was thinking airborn would use it (with oauth1 it's at least possible to get Dropbox to work, although it's a hassle). What do you think? Maybe you could enable get requests for the 0.4 variant as well. You could use $_REQUEST (looks in $_GET, $_POST, $_COOKIE). That'd also fix the bug (?) that $_POST["locale"] doesn't exist (line 37)
Joshua Smith
@joshua-s
Dec 08 2015 22:44
We'd have to use a branched version of 0.4
Daniel Huigens
@twiss
Dec 08 2015 23:23
Yes, or a branched version of 0.5. Or I could just hardcode the previous dropbox url. I'll do that, never mind me
Joshua Smith
@joshua-s
Dec 08 2015 23:50
Ok!