Project

General

Profile

Actions

Bug #5218

open

500 when forking repository, when using special chars in password.

Added by Bartłomiej Wołyńczyk over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
17.02.2017
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

When some one clone repository and in his password contains chars "]","[" urlobject throw exception .
Reproduced:
1) Create new repository( import from existing). With "[" or "]" in yours password
example: https://wuboo:password[@internal-code.rhodecode.com/u/wuboo/rhodecode-enterprise-ce-fork-2
2) Open new repository
3) Go to options fork.
Or

from urlobject import URLObject
URLObject('https://wuboo:password[@internal-code.rhodecode.com/u/wuboo/rhodecode-enterprise-ce-fork-2').password

https://github.com/zacharyvoase/urlobject/issues/38

Actions #2

Updated by Bartłomiej Wołyńczyk over 7 years ago

  • Description updated (diff)
Actions #3

Updated by Bartłomiej Wołyńczyk over 7 years ago

Acoording to RFC
https://www.ietf.org/rfc/rfc3986.txt
pharagraf 2.2, characters below are reseved.


      reserved    = gen-delims / sub-delims
      gen-delims  = ":" / "/" / "?" / "#" / "[" / "]" / "@"
      sub-delims  = "!" / "$" / "&" / "'" / "(" / ")"
                  / "*" / "+" / "," / ";" / "="
Actions #4

Updated by Redmine Integration over 7 years ago

pullrequest created by wuboo (status: under_review). https://internal-code.rhodecode.com/rhodecode-enterprise-ce/pull-request/2867

Actions

Also available in: Atom PDF