Skip to content

[Bug]: dav search request responds with HTTP/1.1 500 Internal Server Error #49972

Open
@wlklch

Description

⚠️ This issue respects the following points: ⚠️

Bug description

a SEARCH request to .../remote.php/dav/uri ... for a bad fileid gives in consistent reponses:

<d:searchrequest xmlns: ......
<d:where>
<d:eq><d:prop>oc:fileid/</d:prop><d:literal>q234</d:literal></d:eq>

responds with HTTP/1.1 500 Internal Server Error and I could not find any indication in the response header, that it is simply bad input data

searching for fileid=234q or fileid=234, however, both correctly respondswith HTTP/1.1 207 Multi-Status and the body an empty xml-element <d:multistatus .../>

Steps to reproduce

  1. see above

Expected behavior

multistatuis as described above

Nextcloud Server version

30

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

the server is my hosting provider, so I do not know any details, to provide them needs some work. However I guess, the details are irrelevant.

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap30-feedbackbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions