← Back to team overview

enterprise-support team mailing list archive

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

 

Thank you for your contribution to Ubuntu!

The patch looks OK to me (although I had to rebase it onto the current
patch in trusty-proposed). I've uploaded it to the trusty queue,
although I imagine it won't get into trusty-proposed until the current
package there completes verification (which should be soon).

Can you fill out the [regression potential] section of the description?

** Also affects: apache2 (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: apache2 (Ubuntu)
       Status: Triaged => Fix Released

** Description changed:

- Description of problem:
+ [impact]
  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
+ [test case]
+ Config:
  
- Cordially
+ ubuntu@ubuntu:/etc/apache2$ cat sites-available/alias.conf
+ <VirtualHost *:80>
+    AliasMatch ^/alias-test/ /var/www/html/index.html
+ </VirtualHost>
+ 
+ With old apache:
+ 
+ ubuntu@ubuntu:/etc/apache2$ curl localhost/alias-test/short_uri
+ <!doctype html>
+ <html>
+ <body>
+ <h1>TEST</h1>
+ </body>
+ </html>
+ ubuntu@ubuntu:/etc/apache2$ curl localhost/alias-test/very_loooooooooooooooooooo
+ ooooooooooooooooooooooooooooooooooooooooooooong_____uri
+ curl: (52) Empty reply from server
+ ubuntu@ubuntu:/etc/apache2$
+ 
+ With new apache:
+ 
+ ubuntu@ubuntu:/etc/apache2$ curl localhost/alias-test/short_uri
+ <!doctype html>
+ <html>
+ <body>
+ <h1>TEST</h1>
+ </body>
+ </html>
+ ubuntu@ubuntu:/etc/apache2$ curl localhost/alias-test/very_loooooooooooooooooooo
+ ooooooooooooooooooooooooooooooooooooooooooooong_____uri
+ <!doctype html>
+ <html>
+ <body>
+ <h1>TEST</h1>
+ </body>
+ </html>
+ 
+ [regression potential]
+ TBD

** Changed in: apache2 (Ubuntu Trusty)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1534538

Title:
   AliasMatch directive does not accept long URI

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


References