@lowcodeunit/applications-flow-common 1.39.67-exceptions → 1.39.68-exceptions

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5067,17 +5067,17 @@ class ProcessorDetailsFormComponent {
5067
5067
  let regex = new RegExp('^(HTTPS://)', 'i');
5068
5068
  let redirect = this.RedirectFormControl.value;
5069
5069
  // console.log('reg ex match; ', redirect.match(regex));
5070
- if (this.IncludeRequestFormControl.value && !redirect.match(regex)) {
5070
+ if (!this.IncludeRequestFormControl.value && !redirect.match(regex)) {
5071
5071
  this.RedirectError =
5072
- 'Redirect url must begin with https:// when Include Path and Query is toggled';
5072
+ 'Redirect url must begin with https:// when Include Path and Query is NOT toggled';
5073
5073
  this.IncludeRequestFormControl.setErrors({ incorrect: true });
5074
5074
  }
5075
- else if (this.IncludeRequestFormControl.value &&
5075
+ else if (!this.IncludeRequestFormControl.value &&
5076
5076
  redirect.match(regex)) {
5077
5077
  this.RedirectError = null;
5078
5078
  this.IncludeRequestFormControl.setErrors(null);
5079
5079
  }
5080
- else if (!this.IncludeRequestFormControl.value) {
5080
+ else if (this.IncludeRequestFormControl.value) {
5081
5081
  this.RedirectError = null;
5082
5082
  // this.IncludeRequestFormControl.setErrors(null);
5083
5083
  }