Skip to content

Commit

Permalink
bug fix, ftps is not supported in profile (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Mar 16, 2022
1 parent a61e0f0 commit 7dd8236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResourceManagement/AppService/PublishingProfileImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal partial class PublishingProfileImpl : IPublishingProfile
private string ftpPassword;
private string gitPassword;
private static readonly Regex gitRegex = new Regex("publishMethod=\"MSDeploy\" publishUrl=\"([^\"]+)\".+userName=\"(\\$[^\"]+)\".+userPWD=\"([^\"]+)\"");
private static readonly Regex ftpRegex = new Regex("publishMethod=\"FTP\" publishUrl=\"ftp://([^\"]+).+userName=\"([^\"]+\\\\\\$[^\"]+)\".+userPWD=\"([^\"]+)\"");
private static readonly Regex ftpRegex = new Regex("publishMethod=\"FTP\" publishUrl=\"ftps?://([^\"]+).+userName=\"([^\"]+\\\\\\$[^\"]+)\".+userPWD=\"([^\"]+)\"");

///GENMHASH:EED906EE02A83607395DD16B6C952CB5:F903566E74A7E102149C01EBDACBA16F
public string GitPassword()
Expand Down

0 comments on commit 7dd8236

Please sign in to comment.