Ran
|
Jobs
1
|
Files
221
|
Run time
857min
|
Badge
Embed ▾
README BADGES
|
travis-ci
[api] Better fix to work when hosted in non-root server directory. This partially reverts commit 5eb11ac98 and implements more correct handling of hosting under non-root server pathname prefix. Instead of removing prefix from full path obtained from request.path, this change uses request.path_info which does not contain prefix at all. Also, << operator used to append to obtained path was replaced with += because unlike request.path which returns newly constructed string, request.path_info returns reference to environvent variable, so << operator appends to this environment variable, whereas += operator works on newly constructed string. Besides using more efficient way to obtain path without prefix, this change also fixes some cases which were not handled by the previous approach. Signed-off-by: Oleg Girko <ol@infoserver.lv>
14445 of 16749 relevant lines covered (86.24%)
373.96 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 3587.1 (2.1) | 221 |
86.24 |
Travis Job 3587.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|