You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules
mrsdizzie 4529a262c0
Don't manually replace whitespace during render (#10291) (#10315)
* Don't manually replace whitespace during render

For historical reasons Gitea manually alters the urlPrefix and replaces
a whitespace with a +. This Works for URLs, but we're also passing
urlPrefix to git calls and adding the + is breaking the tree path.

Goldmark will automatically convert a white space to the proper %20, so
we should leave the string as is which lets us pass it to git unmodified
and then let Goldmark fix it.

Also fixed separate bug in URLJoin I noticed while testing where it will
silently discard sections of a path that have # in them (possibly
others). We should just escape it first.

Fixes 10156

* Escape elems as well

* Revert "Escape elems as well"

This reverts commit 8bf49596fe.

* restart ci

* remove changes to URLJoin

* restart ci

Co-authored-by: techknowlogick <matti@mdranta.net>

Co-authored-by: techknowlogick <matti@mdranta.net>
5 years ago
..
auth Add option to prevent LDAP from deactivating everything on empty search (#9879) (#9896) 5 years ago
avatar Improve handling of non-square avatars (#7025) 6 years ago
base Use gitea forked macaron (#7933) 6 years ago
cache Use gitea forked macaron (#7933) 6 years ago
charset deps: update and fix chardet import (#9351) 5 years ago
context Fix wrong permissions check when issues/prs shared operations (#9885) (#9889) 5 years ago
convert [Bug] [API] Add language to user api (#9215) 5 years ago
cron Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
generate Integrate OAuth2 Provider (#5378) 6 years ago
git Fix commit between two commits calculation if there is only last commit (#10225) (#10226) 5 years ago
gitgraph Move git graph from models to modules/graph (#9027) 5 years ago
graceful Prevent double waitgroup decrement (#10170) (#10175) 5 years ago
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 6 years ago
httplib Add golangci (#6418) 6 years ago
indexer Stop hanging issue indexer initialisation from preventing shutdown (#10243) (#10249) 5 years ago
lfs Make repository management section handle lfs locks (#8726) 5 years ago
log Log: Ensure FLAGS=none is -1 (#9287) 5 years ago
markup Don't manually replace whitespace during render (#10291) (#10315) 5 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations [Backport] CI optimisation & add github token env var (#9875) 5 years ago
notification Fix check for push on default branch (#9963) 5 years ago
options Use gitea forked macaron (#7933) 6 years ago
password Add password requirement info on error (#9074) 5 years ago
pprof Add golangci (#6418) 6 years ago
private Batch hook pre- and post-receive calls (#8602) 5 years ago
process Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
public Use gitea forked macaron (#7933) 6 years ago
queue Fix Workerpool deadlock (#10283) (#10284) 5 years ago
recaptcha fixed reCAPTCHA URL (#9083) 5 years ago
references Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
repofiles Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) (#9974) 5 years ago
repository Batch hook pre- and post-receive calls (#8602) 5 years ago
secret Integrate OAuth2 Provider (#5378) 6 years ago
session Use gitea forked macaron (#7933) 6 years ago
setting Make CertFile and KeyFile relative to CustomPath (#9868) (#9874) 5 years ago
ssh Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
structs Fix wrong hint when status checking is running on pull request view (#9886) (#9928) 5 years ago
sync Fix missing unlock in uniquequeue (#9791) 5 years ago
task Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
templates Fix repository issues pagination bug when there are more than one label filter (#9512) 5 years ago
test Add Close() method to gogitRepository (#8901) 5 years ago
timeutil Use gitea forked macaron (#7933) 6 years ago
upload Fix upload file type check (#7890) 6 years ago
user Add golangci (#6418) 6 years ago
util Sanitize credentials in mirror form (#9975) (#9991) 5 years ago
validation Implement webhook branch filter (#7791) 6 years ago
webhook Fix RocketChat (#9908) (#9921) 5 years ago