OAuth Code cleanup and Dropbox CallbackUrl fix.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2029 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-09-14 06:36:06 +00:00
parent 8f90c54729
commit 66427c3932
2 changed files with 14 additions and 14 deletions

View file

@ -88,7 +88,7 @@ namespace GreenshotPlugin.Controls {
}
private void checkUrl() {
if (browser.Url.ToString().Contains(_oauth.CallbackUrl)) {
if (browser.Url.ToString().StartsWith(_oauth.CallbackUrl)) {
string queryParams = browser.Url.Query;
if (queryParams.Length > 0) {
//Store the Token and Token Secret