Open gedw99 opened 1 year ago
In Safari when you click edit, you cant edit the text
I don't have a MacOS laptop to debug this but I can help to try and find the issue.
I suspect that one of the previous points fail or not supported by Safari.
Hey @emad-elsaid
got a chance to play around a bit more...
On latest...https://github.com/emad-elsaid/xlog/commit/a9ae2a10394bfd98f4077989461c9bd0cff4ccb0
Editing works now. Weird but anyways..
Saving is where i get the error: "Forbidden - CSRF token invalid"
https://github.com/emad-elsaid/xlog/assets/53147028/63d3d806-b39c-4745-98a2-d112fed2642b
Editing fails - not sure why right now.
https://github.com/emad-elsaid/xlog/assets/53147028/a61c4a14-88d3-4f43-b88d-6fbfc7fd20c6
The bug is because we change paths when we post back from the browser to the Server, and so we need the path added.
this is the fix i think: https://github.com/livebud/weblog/issues/1#issuecomment-1281676880
but isn't this what's happening here? https://github.com/emad-elsaid/xlog/blob/master/server.go#L43
localhost
? I have to let this one go for now as super busy moving countries..
Hopefully someone else with Mac / safari can pick this up …
On mac On master branch.
Chrome works fine.. Safari not..
Chrome:
Safari: