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

Header must contain a colon #27444

Merged
merged 1 commit into from
Jun 10, 2021
Merged

Header must contain a colon #27444

merged 1 commit into from
Jun 10, 2021

Conversation

solracsf
Copy link
Member

@solracsf solracsf commented Jun 9, 2021

Should fix #25230

@solracsf solracsf added 3. to review Waiting for reviews bug labels Jun 9, 2021
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whooooops indeed the function was used wrongly https://www.php.net/manual/en/function.header.php

I wonder if Psalm knew about it

Edit: yep

-  <file src="apps/dav/lib/Connector/PublicAuth.php">
-    <InvalidScalarArgument occurrences="1">
-      <code>'DummyBasic realm="' . $this-&gt;realm . '"'</code>
-    </InvalidScalarArgument>
-  </file>

@ChristophWurst
Copy link
Member

stable21 instead of stable 21 :)

@solracsf
Copy link
Member Author

solracsf commented Jun 9, 2021

/backport to stable21

@solracsf
Copy link
Member Author

solracsf commented Jun 9, 2021

/backport to stable20

@solracsf
Copy link
Member Author

solracsf commented Jun 9, 2021

/backport to stable19

@ChristophWurst ChristophWurst added this to the Nextcloud 22 milestone Jun 9, 2021
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Header must contain a colon at /apps/dav/lib/Connector/PublicAuth.php#114
3 participants