Skip to content

Server-side validation for whitespace in title#7759

Merged
samin-z merged 2 commits intomainfrom
fix/1512-validate-empty-title
Mar 16, 2026
Merged

Server-side validation for whitespace in title#7759
samin-z merged 2 commits intomainfrom
fix/1512-validate-empty-title

Conversation

@samin-z
Copy link
Contributor

@samin-z samin-z commented Mar 16, 2026

  • Target version: main

Summary

on Server-side it is possible to add whitespace for title.

TODO

Add extra validation for title to check it's not empty or whitespace.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

samin-z added 2 commits March 16, 2026 13:15
Signed-off-by: samin-z <samin.zavarkesh@gmail.com>
Signed-off-by: samin-z <samin.zavarkesh@gmail.com>
@samin-z samin-z marked this pull request as ready for review March 16, 2026 12:27
@samin-z samin-z merged commit 177076f into main Mar 16, 2026
44 checks passed
@samin-z samin-z deleted the fix/1512-validate-empty-title branch March 16, 2026 12:40
@samin-z
Copy link
Contributor Author

samin-z commented Mar 17, 2026

/backport! to stable1.0

@backportbot
Copy link

backportbot bot commented Mar 17, 2026

The backport to stable1.0 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable1.0
git pull origin stable1.0

# Create the new backport branch
git checkout -b backport/7759/stable1.0

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick e1ab13ce 79bcfaac

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/7759/stable1.0

Error: Failed to check for changes with origin/stable1.0: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants