Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Javascript deleting $_POST data - form results will not render
· 10 years ago
I'm no PHP native myself. If you look in the plugins forum, you will see me bashing my head against a wall time and time again :) PHP is far from an elegant language, to be diplomatic about it.
-
Javascript deleting $_POST data - form results will not render
· 10 years ago
Looks like I need to do some research as I am reminded how new I am to php every time I attempt to do something with a plugin in Grav. Thank you for the reply and pointing me in the right direction t
-
Javascript deleting $_POST data - form results will not render
· 10 years ago
Just looking at the source code. I'd try accessing $this->grav['session'] and look at this API documentation and see what you can do.
-
Javascript deleting $_POST data - form results will not render
· 10 years ago
Can you use session storage? I see Grav supports it, but I don't see much in the documentation. I've dealt with this same problem when dealing with OAuth (not in Grav, but other systems I've created)
-
Javascript deleting $_POST data - form results will not render
· 10 years ago
Okay, I will try to explain this as simply as possible. I have a form that collects data and then has a large amount of logic applied to it. The resulting information needs to be output back to the us
-
HTTPS and circular redirects
· 10 years ago
Oh, I know why. It's because my host is using ipsec and forwarding. It handles the SSL negotiation on the front end and then passes control to me using the HTTP_X_FORWARDED_PROTO header. Pull request
-
HTTPS and circular redirects
· 10 years ago
My REST client is requesting the site via HTTPS, so I'm not sure why $_SERVER isn't seeing that.
-
HTTPS and circular redirects
· 10 years ago
So the source code seems to draw from $_SERVER['HTTPS']. I guess I'll see where that takes me. I'm sounding more and more like that annoying guy in the cubicle next door that keeps thinking out loud.
-
HTTPS and circular redirects
· 10 years ago
It's a problem because in the plugin I'm working on, I need to generate absolute links for pages on my site, but by default Grav\Common\Uri is producing http schemes. Sure I can do string manipulation
-
HTTPS and circular redirects
· 10 years ago
Is your host enforcing this through regular .htaccess files? The generated URLs are not a problem if the server redirects properly, as all links become HTTPS immediately when accessed, and resources a