[Bug 1534538] Re: AliasMatch directive does not accept long URI

Wesley Wiedenmeier wesley.wiedenmeier at gmail.com
Tue Jun 28 23:21:32 UTC 2016


I confirm that the debdiff supplied does fix the bug. In case anyone
wants to test it, there is a build of it here:

https://launchpad.net/~wesley-wiedenmeier/+archive/ubuntu/tmp

Test case used to verify:

Config:

ubuntu at ubuntu:/etc/apache2$ cat sites-available/alias.conf
<VirtualHost *:80>
   AliasMatch ^/alias-test/ /var/www/html/index.html
</VirtualHost>


With old apache:


ubuntu at ubuntu:/etc/apache2$ curl localhost/alias-test/short_uri
<!doctype html>
<html>
<body>
<h1>TEST</h1>
</body>
</html>
ubuntu at ubuntu:/etc/apache2$ curl localhost/alias-test/very_loooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooooooong_____uri                         
curl: (52) Empty reply from server                                             
ubuntu at ubuntu:/etc/apache2$ 


With new apache:

ubuntu at ubuntu:/etc/apache2$ curl localhost/alias-test/short_uri                 
<!doctype html>                                        
<html>                                                                        
<body>                                                                 
<h1>TEST</h1>
</body>                       
</html>                                                                
ubuntu at ubuntu:/etc/apache2$ curl localhost/alias-test/very_loooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooooooong_____uri                       
<!doctype html>                                                                 
<html>                                                                        
<body>                                                                          
<h1>TEST</h1>                                                                 
</body>                                                                       
</html>

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1534538

Title:
   AliasMatch directive does not accept long URI

Status in apache2 package in Ubuntu:
  Triaged

Bug description:
  Description of problem:
  When accessed long URI location that configured by AliasMatch directive,
  Apache failed to allocate memory and process aborted.

  It's same that https://bugzilla.redhat.com/show_bug.cgi?id=1120019.

  This fixed in upstream, http://svn.apache.org/viewvc?view=revision&revision=1583175.
  Can you please backports apache 2.4.10 from vivid or just fix in trusty ?
  Thanks.

  === Details ===
  Description:    Ubuntu 14.04.3 LTS
  Release:           14.04
  apache2:           2.4.7-1ubuntu4.8

  Cordially

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1534538/+subscriptions



More information about the Ubuntu-sponsors mailing list