-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this_will_be_replaced_by_sandstorm needs to be replaced even when escaped in JS strings #11
Comments
From @mrdomino on March 1, 2016 17:36 +1 |
From @dwrensha on November 9, 2016 14:26 Eek, I just noticed that this error shows up in the default configuration. That is, if I create a new WordPress grain, click "Rebuild Public Site", and then visit the site, I see the following error in my browser console:
|
From @dwrensha on November 9, 2016 14:48 The reason we see the strange-looking host |
From @JamborJan on January 16, 2017 6:59 Is there any chance that we get this bug solved? As far as I can see it has impact on other issues and possible solutions there, see issue #22. Thanks a lot! Update: as far as I can see, my point is caused by this line in the mentioned recursive wget script. I guess the script should replace the url in any case no matter if it is a https or http link. |
Did you find a solution for this? I have the same problem. |
I have not looked at this yet, because I'm mostly concentrating to maintaining Wekan https://wekan.github.io . Currently @JamborJan maintains this WordPress for Sandstorm. I presume fixing this would require somebody looking at this or related repos source code, and find where to remove that text etc. Contributions welcome :) |
I have some experimental stuff but nothing 100% works yet. I’ll create a branche for this bug to share my current status of the bug fix. |
Thank you for the quick reply Lauri (@xet7 ). I understand there's a lot to maintain. With just a few bugs fixed, Sandstorm would be an amazing platform. By the way, you're doing a great job with Wekan too. And thank you @JamborJan . If you could give me any kind of fix, whether it's editing some code manually, or any other ideas, I would be so thankful. Even if it's experimental, I can do it the hard way until the final fix is in place. Any suggestions, I would be appreciative. |
@xet7 @JamborJan As an added note, I would love to give a contribution, just let me know where to send it. :-) As for a programming contribution, I lack the necessary programing skills, otherwise, I would definitely contribute that way too. |
For Wekan related contributions, you can contact me by email [email protected] |
@JamborJan should post his email too. :-) |
Hey @cyberzenk99, I was able to implement a quick and dirty fix for the java script issue (see this for details). It's not nice but it solves the issue with the replacement of But in my test cases I now get another error message in the browsers console:
Not sure if this is a Sandstorm related issue or not. Can anyone please test with the beta release and let me know the result? Please be aware that this is not much tested. So please don't upgrade any production critical stuff. For any contributions, questions or whatever: feel free to contact me :-) |
Are you sure |
You are right, it seems so. But as I did test with
Edit: when I Thanks for your thoughts and input anyway. It always helps to see issues from another perspective. |
This still seems to be an issue. Will investigate further. |
From @kentonv on December 2, 2015 2:36
http://ninjility.com/, which appears to be hosted on Sandstorm, has this blob at the top:
As you can see there is a case of this_will_be_replaced_by_sandstorm that failed to be replaced in there, because the '/'s are for some reason escaped (who knew '/' was a valid escape sequence in Javascript?).
This actually leads to an error reported on the JS console when loading the site.
Copied from original issue: dwrensha/wordpress-sandstorm#15
The text was updated successfully, but these errors were encountered: