Mailing List Archive

[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

Ruediger Pluem <rpluem@apache.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
OS| |All
Resolution|--- |INVALID
Status|NEW |RESOLVED

--- Comment #1 from Ruediger Pluem <rpluem@apache.org> ---
Your RewriteRules are broken. Move them out of the Location block and it should
work. The r->filenames you show below are correctly classified as invalid.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #2 from Yann Ylavic <ylavic.dev@gmail.com> ---
Created attachment 38043
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38043&action=edit
Handle UDS ("unix:") scheme is mod_rewrite

Maybe the issue is that mod_rewrite does not consider that a "unix:" scheme
forms an absolute URI?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #3 from Yann Ylavic <ylavic.dev@gmail.com> ---
Related to bug 57691 ?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #4 from Yann Ylavic <ylavic.dev@gmail.com> ---
Created attachment 38044
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38044&action=edit
Handle UDS ("unix:") scheme in mod_rewrite [P]

Or maybe this one instead since the "unix:" scheme is a [P] thing only.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

Yann Ylavic <ylavic.dev@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #38044|0 |1
is obsolete| |

--- Comment #5 from Yann Ylavic <ylavic.dev@gmail.com> ---
Created attachment 38045
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38045&action=edit
Handle UDS ("unix:") scheme in mod_rewrite [P]

This one should compile..

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #6 from Sylvain Cresto <scresto@gmail.com> ---
Thanks for your quick reply.

OK I have move RewriteRules in correct Directy section.

I have applied patch 38045 but it does not make different, it does not works.
With fix_uds_filename function from httpd-2.4.48 it still works.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

Sylvain Cresto <scresto@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |---
Status|RESOLVED |REOPENED

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #7 from Ruediger Pluem <rpluem@apache.org> ---
Do you have traces for r->filename with the patch applied? Does the 38043
attached patch help?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #8 from Yann Ylavic <ylavic.dev@gmail.com> ---
(In reply to Sylvain Cresto from comment #6)
> I have applied patch 38045 but it does not make different, it does not works.

Please verify that you are running the patched version, I can't reproduce the
issue with the patch applied.

Also the RewriteRule should go outside any Location or Directory section
(directly at the VirtualHost level), otherwise the rewritten URL will always be
prefixed by the directory or location specified, which breaks the "unix:"
scheme.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #9 from Sylvain Cresto <scresto@gmail.com> ---
Hi

OK my bad, i haven't applied patch 38043.

With patchs 38043 and 38045 it's now correctly working, thank you !

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #10 from Ruediger Pluem <rpluem@apache.org> ---
Only one of the patches should be applied. Can you please do tests with only
one of them applied?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #11 from Sylvain Cresto <scresto@gmail.com> ---
OK I've just test those patchs.
Patch 38043 is the mandatory patch.

Thanks

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #12 from Yann Ylavic <ylavic.dev@gmail.com> ---
Do you mean that 38045 alone is not working?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #13 from Sylvain Cresto <scresto@gmail.com> ---
Yes, in my case :

Patch 38043 alone : good
Patch 38045 alone : bad
Patch 38043 + 38045 : good

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

Yann Ylavic <ylavic.dev@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Keywords| |FixedInTrunk
Status|REOPENED |RESOLVED

--- Comment #14 from Yann Ylavic <ylavic.dev@gmail.com> ---
Thanks for testing Sylvain.

This is now fixed in trunk (r1893516) with the patch attachment 37289 from bug
57691, so I'm marking this PR as duplicate to track the backport at a single
place.

*** This bug has been marked as a duplicate of bug 57691 ***

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

--- Comment #15 from Sylvain Cresto <scresto@gmail.com> ---
Thanks !

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

Ruediger Pluem <rpluem@apache.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |chris@modd.com.au

--- Comment #16 from Ruediger Pluem <rpluem@apache.org> ---
*** Bug 65600 has been marked as a duplicate of this bug. ***

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65590] fix_uds_filename function seems broken since apache 2.4.49 [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65590

Yann Ylavic <ylavic.dev@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |caleb@alerque.com

--- Comment #17 from Yann Ylavic <ylavic.dev@gmail.com> ---
*** Bug 65617 has been marked as a duplicate of this bug. ***

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org