getgrav / getgrav/grav-plugin-admin

Folder Name Validation Not Accepting Leading Numbers?

Open
#2,196 1 comment 1 reaction 1 assignee Claimed by @mahagr View on GitHub
question
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

Got an error of `Invalid Input in "Folder Name".` when saving a page I'd created a couple years ago.

The folder name is user/pages/02.projects/16.other-projects/10.1918-patriotic-songs-and-hymns. I didn't change the folder name but it's kicking up an error now. I re-ran my perms.sh script to make sure it wasn't a permissions problem.

It seems like the problem was the folder's name leading with a number, `1918`. Grav doesn't seem to like folder names that begin with a number anymore? The new folder title is `patriotic-songs-and-hymns-of-1918` and the problem goes away.

---

Grav is amazing and so is everyone who works on it. Ricardo is my hero.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.