Bug 53915 - Colon lost when :port is used in CacheKeyBaseURL
Summary: Colon lost when :port is used in CacheKeyBaseURL
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_cache (show other bugs)
Version: 2.4.3
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk, PatchAvailable
Depends on:
Blocks:
 
Reported: 2012-09-21 12:42 UTC by Rein Tollevik
Modified: 2019-01-12 07:54 UTC (History)
0 users



Attachments
Patch to fix the bug (622 bytes, patch)
2012-09-21 12:42 UTC, Rein Tollevik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rein Tollevik 2012-09-21 12:42:28 UTC
Created attachment 29403 [details]
Patch to fix the bug

When a :port is included in the CacheKeyBaseURL the ":" is lost from the actual cache key value.  This doesn't harm apache by itself, the real problem arise if some external program which "knows" about the cache keys structure is used to modify the cache. The attached patch should fix the bug.

Rein Tollevik
Basefarm AS
Comment 1 Christophe JAILLET 2019-01-12 07:54:43 UTC
Thx for the (old) report. 

Fixed in r1851146.

Slightly modified to add a missing NULL at the end of apr_pstrcat.