summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhimport/session_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhimport/session_store.go b/rhimport/session_store.go
index c26d943..d6dce9f 100644
--- a/rhimport/session_store.go
+++ b/rhimport/session_store.go
@@ -145,7 +145,7 @@ func generateSessionId() (string, error) {
if _, err := rand.Read(b[:]); err != nil {
return "", err
}
- return base64.RawStdEncoding.EncodeToString(b[:]), nil
+ return base64.RawURLEncoding.EncodeToString(b[:]), nil
}
func (store *SessionStore) new(ctx *Context, refId string) (resp newSessionResponse) {