my UpdraftPlus Backup/Restore was working and backing up to Google drive.
But now the REDIRECT URI has changed on the Google Cloud Console Side.
it should end with
/options-general.php?page=updraftplus&action=updraftmethod-googledrive-auth
however it keeps truncating after the Ampersand and shows up like
/options-general.php?page=updraftplus
any help on how to set the right URI?
I also faced the same problem yesterday. It looks like a bug of Google Cloud Console to me. I managed to solve this by using "percent-encoding" in the URL for the ampersand symbol. Ampersand symbol shall be encoded as %26. So you shall enter your url the following way:
/options-general.php?page=updraftplus%26action=updraftmethod-googledrive-auth
Another option you could try (but I don't think it will be necessary) is to swith back to the old view. It looks like that in the old interface there is no problem with ampersand. The link to the old interface is at the left bottom corner (it is quite hard to find it).
By the way I've also described this solution here (but it is in Russian :)
In the latest UpdraftPlus release, we worked around this by only having one parameter in the URL!
Best wishes,
David
Related
I have set-up alertmanager and configured it using the official documentation.
The set-up is made to send alerts to Slack, Email and Telegram via the alertmanager.
I have triggered some alerts to see if it is working fine. For Slack and Emails, the generatorURL (A backlink which identifies the causing entity of the alert.1) is clickable and when clicked takes back to the Grafana Explore section which is the expected behaviour. However for Telegram, the generatorURL link is broken (The link is half clickable). The alertmanager uses default template to send the alerts to Telegram.
After some research, I found out that it is because of the url-encoding (i.e. The quotes, square brackets, etc. are not encoded). I don't know how to encode it manually. However I have tried two possible solutions:
Used parseMode as HTML and using anchor tag for the generatorURL - Didn't work.
Used reReplaceAll to replace the quotes, square brackets, etc. into url encoded form from this GitHub Discussion - Didn't work.
I tried the solution provided here, but I didn't get the source URL i.e. It was blank.
What did I achieve: It didn't generate the URL. I mean the telegram message was blank.
What was expected: A fully clickable source URL.
Screenshots have been attached.
Implemented GitHub solution for GeneratorURL
Result
Any suggestions on what can be done to resolve this issue?
Following on from this question and answer, I was wondering if it is possible to create an internal project post in Blogdown and hugo academic that is structured like a "Courses" document?
My current thought is to create a 'hidden' courses section that can be linked to by a project, however, relative paths like external_link: "courses/my-example-course" don't seem to work. I suppose I could provide an https link after publishing, but this seems inefficient.
Does anyone have any suggestions?
Thanks,
So it turns out that it just wasn't working in the RStudio viewer, which I use instead of Chrome because it is unusably slow on my laptop. It's opening another tab, but that's to be expected with an external link.
The working solution is to use external_link: /courses/my-example-course, and it's important to have the first /, otherwise it returns a 404 page.
We want to add some more data tracking to our website and we want to attach a keyword onto the end of a url.
I have something like this
http://www.samplesite.com/t/1/video/123456
http://www.samplesite.com/t/2/video/123457
http://www.samplesite.com/t/3/video/123458
and I want it to look like this
http://www.samplesite.com/t/1/video/123456/funny
http://www.samplesite.com/t/2/video/123457/sports
http://www.samplesite.com/t/3/video/123458/informative
I've been searching the internet trying to figure out how to do this and I haven't really come up with anything. I'm able to paste those urls in and get to the right page but I don't actually know how to make those pages have those urls when they load. I realize this question is pretty open ended but I'm basically looking for some starting points on some more searches as I don't think I've been phrasing things the best. Thanks in advance.
If you're using IIS 7 or 7.5 you can use the Microsoft URL Rewriter module, otherwise there are some third party ones for IIS6 and 5.
http://www.iis.net/downloads/microsoft/url-rewrite
There are several examples at:
http://www.iis.net/learn/extensions/url-rewrite-module/using-url-rewrite-module-20
So are you saying you go to one of those URLs and it shows what you expect, but the URL is changing (so it doesn't have the suffix)?
Have you tried using urlrewriter?
A few references :
http://dotnetguts.blogspot.in/2008/07/url-rewriting-with-urlrewriternet.html
http://www.tutorialized.com/tutorial/URL-Rewriting-in-ASP.NET-using-URLRewriter.Net/38861
http://www.addedbytes.com/articles/for-beginners/url-rewriting-for-beginners/
Hope this helps you.
First off, I saw similar posts already, but they weren't exactly what I am asking.
I used the Facebook Dev to create a like button for my website, stuck the code in and the the button showed up. The only issue is that it likes the wrong url when I click the button.
I'm pretty sure the issue is that I have it set to redirect automatically from mydomain.com to the most recent post. I think this is gumming up the works with the like button and causing it to like mydomain.com/mostrecentpost instead of simply liking mydomain.com.
Is there a way to correct this issue without having to get rid of the redirect (because that isn't an option)?
Sorry if that was a little wordy, wanted to make sure I explained the issue fully.
Is there a way to correct this issue without having to get rid of the redirect (because that isn't an option)?
Either don’t redirect in those cases where the user agent header of the request points to it being Facebook’s scraper;
or set the canonical URL of http://example.com/mostrecentpost to just http://example.com/ using the appropriate Open Graph meta tag. (Although that would mean you would not be able to like a single post any more, because all of your posts would just point to your base domain as the “real” website; so the first is probably the better option.)
I have an ASP.Net application which as desired feature, users would like to be able to take a screenshot. While I know this can be simulated, it would be really great to have a way to take a URL (or the current rendered page), and turn it into an image which can be stored on the server.
Is this crazy? Is there a way to do it? If so, any references?
I can tell you right now that there is no way to do it from inside the browser, nor should there be. Imagine that your page embeds GMail in an iframe. You could then steal a screenshot of the person's GMail inbox!
This could be made safe by having the browser "black out" all iframes and embeds that would violate cross-domain restrictions.
You could certainly write an extension to do this, but be aware of the security considerations outlined above.
Update: You can use a canvas utility function to get a screenshot of a page on the same origin as your code. There's even a lib to allow you to do this: http://experiments.hertzen.com/jsfeedback/
You can find other possible answers here: Using HTML5/Canvas/JavaScript to take screenshots
Browsershots has an XML-RPC interface and available source code (in Python).
I used the free assembly UrlScreenshot.dll which you can download here.
Works nicely!
There is also WebSiteScreenShot but it's not free.
You could try a browser plugin like IE7 Pro for Internet Explorer which allows you to save a screenshot of the current site to a file on disk. I'm sure there is a comparable plugin for FireFox out there as well.
If you want to do something like you described. You need to call an external process that prints the IE output as described here.
Why don't you take another approach?
If you have the need that users can view the same content over again, then it sounds like that is a business requirement for your application, and so you should be building it into your application.
Structure the URL so that when the same user (assuming you have sessions and the application shows different things to different users) visits the same URL, they always see same thing. They can then bookmark the URL locally, or you can even have an application feature that saves it in a user profile.
Part of this would mean making "clean urls", eg, site.com/view/whatever-information-needed-here.
If you are doing time-based data, where it changes as it gets older, there are probably a couple possible approaches.
If your data is not changing on a regular basis, then you could make the "current" page always, eg, site.com/view/2008-10-20 (add hour/minute/second as appropriate).
If it is refreshing, and/or updating more regularly, have the "current" page as site.com/view .. but allow specifying the exact time afterwards. In this case, you'd have to have a "link to this page" type function, which would link to the permanent URL with the full date/time. Look to google maps for inspiration here-- if you scroll across a map, you can always click "link to here" and it will provide a link that includes the GPS coordinates, objects on the map, etc. In that case it's not a very friendly url but it does work quite well. :)