Added URLDecoding to verifier

This commit is contained in:
roger authored and Pablo Fernandez committed 2010-11-30 14:49:47 -03:00
1 parent 806d548629
commit cf84381127
2 files changed
+25 -1

No files matched your search

+4 -1
View File
@@ -1,5 +1,7 @@
package org.scribe.model;
import org.scribe.utils.*;
/**
* Represents an OAuth verifier code.
*
@@ -7,6 +9,7 @@ package org.scribe.model;
*/
public class Verifier
{
private final String value;
/**
@@ -16,7 +19,7 @@ public class Verifier
*/
public Verifier(String value)
{
this.value = value;
this.value = URLUtils.percentDecode(value);
}
public String getValue()