Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitecore SDN passwords fail with special characters #177

Closed
arencambre opened this issue Jun 9, 2017 · 1 comment · Fixed by #588
Closed

Sitecore SDN passwords fail with special characters #177

arencambre opened this issue Jun 9, 2017 · 1 comment · Fixed by #588
Assignees
Labels
Milestone

Comments

@arencambre
Copy link

arencambre commented Jun 9, 2017

Importance:
Normal

Valid for QA
(It appears the relevant code is already in 1.4 as it's from 11 months ago?)

Description:
If my SDN password has certain special characters, then I cannot download a Sitecore zip using SIM. My SDN password may contain special characters, possibly characters such as a ^ or a !. Yeah, maybe. Anyway, it appears that on line 34 of Sitecore-Instance-Manager/src/SIM.Tool.Windows/UserControls/Download8/Login.xaml.cs, the username and password are thrown into a string with no escaping. Special characters that may be valid to an SDN account could interfere with interpretation of a string.

Scenario:

  1. Have a SDN password with special characters that might mess with a string, such as a ! or a ^.
  2. Through SIM, try to download a Sitecore package. You cannot log in via SIM.
  3. Be sad and download the ZIP from dev.sitecore.net directly.

Log
This is the log entry:

  **  22 13:36:41,229 INFO  Long running task "Download Sitecore 8.x Wizard" failed with exception
System.InvalidOperationException: The username or password or both are incorrect, or an unexpected error happen
   at SIM.Tool.Windows.UserControls.Download8.Login.GetMarketplaceCookie(String username, String password)
   at SIM.Tool.Windows.UserControls.Download8.Login.<>c__DisplayClass4_0.<SIM.Tool.Base.Wizards.IFlowControl.OnMovingNext>b__0()
   at SIM.Tool.Base.WindowHelper.<>c__DisplayClass3_2.<LongRunningTask>b__0()
@AlenPelin AlenPelin added this to the 1.5 Update-1 milestone Jun 13, 2017
@AndreyFilchenkov AndreyFilchenkov modified the milestones: 1.5 Update-1, 1.6.1 Jan 14, 2020
@AndreyFilchenkov AndreyFilchenkov modified the milestones: 1.6.1, 1.6.2 Apr 7, 2020
@AndreyFilchenkov AndreyFilchenkov modified the milestones: 1.7.1, 1.8.0 Sep 22, 2020
@AndreyFilchenkov AndreyFilchenkov modified the milestones: 1.9.0, 1.10.0 Feb 9, 2021
@AndreyFilchenkov AndreyFilchenkov modified the milestones: 1.10.0, 1.11.0 Mar 16, 2021
@DmitryKolinchuk DmitryKolinchuk self-assigned this Jun 4, 2021
@DmitryKolinchuk
Copy link
Collaborator

Downloads from https://dev.sitecore.net are now publicly available, so the existing login functionality should be removed.

DmitryKolinchuk added a commit that referenced this issue Jun 4, 2021
…v.sitecore.net since they are now publicly available
AndreyFilchenkov added a commit that referenced this issue Jun 11, 2021
…rds_fail_with_special_characters

#177 Remove obsolete login functionality to download packages from dev.sitecore.net since they are now publicly available
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment