Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Do not allow a repo to start with minus; strlen -> mb_strlen | 8ac45126805015c868ae8054ea328dc5a16cf31c | Catalin(ux) M. BOIE | 2019-09-22 05:06:41 |
Limit the desciption of the project to 100 chars to be able to pack more repos per page | 1d2714726347b1eb9f113bd9c4d65d301d6502bd | Catalin(ux) M. BOIE | 2019-09-22 04:59:11 |
Changed CIF | 47e6a7b3939898729d4344b8e3a01ac0dbd3e3b1 | Catalin(ux) M. BOIE | 2019-09-22 04:42:59 |
Added git_log1_strange.php to generate strange filenames | 66083c9e3e6633c953bd5e77f28d993687ef2b73 | Catalin(ux) M. BOIE | 2019-09-17 20:01:10 |
tests: cosmetic stuff | 7688f7b901e0fe3a94e2fcb62755af159212d053 | Catalin(ux) M. BOIE | 2019-09-17 20:00:04 |
If rg_dir_load returns false, propagate the error | 6c8640b1200ae7859097e66dd73ba75857a845a5 | Catalin(ux) M. BOIE | 2019-09-17 19:48:25 |
rg_exec - do not return if the program closes stderr | c619b6bc77b3a9bd1c4dea8a01ba3422620f4c90 | Catalin(ux) M. BOIE | 2019-09-17 19:47:26 |
rg_git_from_to: if to is empty, ignore it. | 310506eab4b45a96cd75b69cfe72c54c7c5aa0e6 | Catalin(ux) M. BOIE | 2019-09-17 19:30:44 |
TODO changes | 25a5232ed436fe23e7f21c8caa6934d3bfcbd6d7 | Catalin(ux) M. BOIE | 2019-09-17 19:25:33 |
Did some debug changes for git | 25fbc904e16076cc6117a1bb900326344dba9d37 | Catalin(ux) M. BOIE | 2019-09-17 19:24:23 |
Add rg_log_sid value to all push methods, to be able to identify the log from the user reports | 4111a8a6ba1e100b3e01d277b2bc7968df9639b1 | Catalin(ux) M. BOIE | 2019-09-17 19:06:32 |
AUTHORS file update | 69efc5c7617404728506b380a57cf8336a45c2fc | Catalin(ux) M. BOIE | 2019-09-17 19:03:59 |
Added TLS1.3 to the list of protocols for nginx | c9fe2cc833c1a9636eab4baa2c388b2ea073ecbb | Catalin(ux) M. BOIE | 2019-09-17 19:03:23 |
History updates | 3de26500d13dc1eafa00fa4721704c5cfe372fd7 | Catalin(ux) M. BOIE | 2019-09-17 19:01:08 |
Destroy confirmation link after use | 6794a957bf695525b1a171eb6b602d228fd0f725 | Catalin(ux) M. BOIE | 2019-04-01 17:41:47 |
Show rg_log_sid into the user output to help identifying the logs | f272e87bcb5fef0e34459c5025b3d4bc796dab6d | Catalin(ux) M. BOIE | 2018-08-29 21:40:36 |
SELinux updates | 04b76e731f34762838434e8412e283be7360d188 | Catalin(ux) M. BOIE | 2018-08-29 21:36:29 |
Corrected wrong help for ssh 2fa | 04f8223c0c8fc585d3c7882c17ba4ecb7c22d0b5 | Catalin(ux) M. BOIE | 2018-08-29 21:36:16 |
ldap changes | 89e6848701e4c27d0f089393c7591302c45c57d4 | Catalin(ux) M. BOIE | 2018-08-29 21:35:56 |
Allow login token to be appended to the password | 8a5b003845f54d2771beaec7b14b96b2029ee9db | Catalin(ux) M. BOIE | 2018-08-29 21:35:16 |
File | Lines added | Lines deleted |
---|---|---|
inc/repo.inc.php | 7 | 1 |
File inc/repo.inc.php changed (mode: 100644) (index 180a48a..11be27b) | |||
... | ... | function rg_repo_ok($repo) | |
845 | 845 | return FALSE; | return FALSE; |
846 | 846 | } | } |
847 | 847 | ||
848 | if (strcmp(substr($repo, 0, 1), '-') == 0) { | ||
849 | rg_repo_set_error('invalid repository name' | ||
850 | . ' (cannot start with minus)'); | ||
851 | return FALSE; | ||
852 | } | ||
853 | |||
848 | 854 | if (rg_chars_allow($repo, $rg_repo_allow, $invalid) !== TRUE) { | if (rg_chars_allow($repo, $rg_repo_allow, $invalid) !== TRUE) { |
849 | 855 | rg_repo_set_error("invalid repository name" | rg_repo_set_error("invalid repository name" |
850 | 856 | . " (invalid chars: '$invalid')"); | . " (invalid chars: '$invalid')"); |
... | ... | function rg_repo_ok($repo) | |
856 | 862 | return FALSE; | return FALSE; |
857 | 863 | } | } |
858 | 864 | ||
859 | $len = strlen($repo); | ||
865 | $len = mb_strlen($repo); | ||
860 | 866 | if ($len < $rg_repo_min_len) { | if ($len < $rg_repo_min_len) { |
861 | 867 | rg_repo_set_error("repository name is too short" | rg_repo_set_error("repository name is too short" |
862 | 868 | . " (minimum $rg_repo_min_len < $len)"); | . " (minimum $rg_repo_min_len < $len)"); |