Commit graph

4 commits

Author SHA1 Message Date
Nick Thomas
afd290a444
Merge branch 'sh-fix-cpp-templates-404' into 'master'
Fix 404s when C++ .gitignore template selected

Closes #57857

See merge request gitlab-org/gitlab-ce!25416
2019-02-26 12:21:57 +01:00
Michael Kozono
ea6945b811
Revert "Merge branch 'sh-fix-cpp-templates-404' into 'master'"
This reverts commit 4b282e9ce1, reversing
changes made to b6f37434a7.
2019-02-25 12:43:26 -08:00
Stan Hu
d2c2a0627f Fix 404s when C++ .gitignore template selected
Due to a overly-stringent regex, the project template API was 404'ing
when C++ was requested as the template. Loosen the regex to allow `+`
and `%` for URL-encoded characters.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57857
2019-02-22 00:05:19 -08:00
Nick Thomas
25bd49e4f5
Backport project template API to CE 2018-10-05 11:34:43 +01:00