Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Allow rights to have numbers and _ in name | 4f5c38389bc98e2dcb60d36359917c33820e5779 | Catalin(ux) M. BOIE | 2016-07-11 04:05:40 |
Allow strange chars in cache names | 00b05d99d3d3cf0229249718d2482af40f063972 | Catalin(ux) M. BOIE | 2016-07-11 04:04:08 |
Small improvements to builder and worker | 08f9bc668f7f192af61868bebd644bea64b6aedd | Catalin(ux) M. BOIE | 2016-07-11 04:01:47 |
SELinux improvements to support the builder | a2b52360b43be53786ee5d68c9fcb2db14f29c0c | Catalin(ux) M. BOIE | 2016-07-11 04:00:57 |
Document docker on Download web section | 5d4ece50d6b4dc3d4902afd9264a45834ceb3592 | Catalin(ux) M. BOIE | 2016-07-11 03:54:31 |
Doc: restore context for rc.local | eb5fa1cab84737e3440cfbca147d50859b8f9a53 | Catalin(ux) M. BOIE | 2016-07-07 04:09:23 |
Fixed small bug preventing e-mail to show in report | 26d884b3a332f3c3b241c194912b9653749a9427 | Catalin(ux) M. BOIE | 2016-07-07 03:37:23 |
Do not clobber the cron file | 5c68384676d9b8087255dda3b62e3588fc50e6c7 | Catalin(ux) M. BOIE | 2016-07-06 22:03:58 |
When using rg_json_encode, no quotes needed. | c4b7693a81e593918f8c06408f16b4884a92773b | Catalin(ux) M. BOIE | 2016-07-06 05:21:00 |
Remove summary from tables because violates HTML5 specs. :( | 11865f18e979f3849dbb265e5c5350f4a638088b | Catalin(ux) M. BOIE | 2016-07-06 05:00:11 |
Bump version to 0.55 | 58652b8250a867c0f4e9e3a9c76737443f242b36 | Catalin(ux) M. BOIE | 2016-07-06 04:48:24 |
Big commit of a lot of unrelated changes. Shame on me! | e503666df79ef1553d0bb7ffd1d12a6b62748b1c | Catalin(ux) M. BOIE | 2016-07-06 04:44:43 |
Do not free resources if query fails. | 57baca81e9087a00a8e2e1807c932de2fb9769c4 | Catalin(ux) M. BOIE | 2016-06-26 11:47:09 |
Packaging changes: prepared for Debian build | c32cb09dc84615f4984ce5f8fac4064accbeeb28 | Catalin(ux) M. BOIE | 2016-06-12 05:59:14 |
webhooks - rename Name to Type | 7d774d4818950b3d3916e834b0dde3081b90960e | Catalin(ux) M. BOIE | 2016-05-08 11:36:45 |
Correct license for spec file (Affero -> A) | 3635ec1e7b416524ad15e06c884b4546600d68e4 | Catalin(ux) M. BOIE | 2016-05-08 11:09:01 |
Bump version to 0.54 | a6f90aaaedcaa67073408100b6a0abd5c7ddd6fa | Catalin(ux) M. BOIE | 2016-05-08 11:06:23 |
SELinux: permit access to /tmp | b33571b8aa45d49053ef20cbb485ef36dc6f5e49 | Catalin(ux) M. BOIE | 2016-05-08 11:05:44 |
TODO changes | 55917d4f8f63aefcac02b4c583dbe252ee04aa87 | Catalin(ux) M. BOIE | 2016-05-08 11:04:35 |
Get rid of php-mbstring: is not a standard extention | 0934a66ce1a94f4066b1b7e18edbe0acb4dd3206 | Catalin(ux) M. BOIE | 2016-05-08 11:04:20 |
File | Lines added | Lines deleted |
---|---|---|
inc/rights.inc.php | 1 | 1 |
inc/util.inc.php | 8 | 0 |
File inc/rights.inc.php changed (mode: 100644) (index b237123..1f54bc7) | |||
... | ... | function rg_rights_load($db, $obj_id, $type) | |
245 | 245 | rg_prof_start("rights_load"); | rg_prof_start("rights_load"); |
246 | 246 | rg_log_enter("rights_load: obj_id=$obj_id type=$type"); | rg_log_enter("rights_load: obj_id=$obj_id type=$type"); |
247 | 247 | ||
248 | $type = rg_force_alpha($type); | ||
248 | $type = rg_force_alphanum($type); | ||
249 | 249 | ||
250 | 250 | $ret = FALSE; | $ret = FALSE; |
251 | 251 | while (1) { | while (1) { |
File inc/util.inc.php changed (mode: 100644) (index 70c91af..805b3f0) | |||
... | ... | function rg_force_alpha($s) | |
1680 | 1680 | return preg_replace('/[^A-Za-z]/', '', $s); | return preg_replace('/[^A-Za-z]/', '', $s); |
1681 | 1681 | } | } |
1682 | 1682 | ||
1683 | /* | ||
1684 | * Removes from a string all non-alpha/num and _ characters | ||
1685 | */ | ||
1686 | function rg_force_alphanum($s) | ||
1687 | { | ||
1688 | return preg_replace('/[^A-Za-z0-9_]/', '', $s); | ||
1689 | } | ||
1690 | |||
1683 | 1691 | ?> | ?> |