aboutsummaryrefslogblamecommitdiffstats
path: root/community/althttpd/10-allow-filename-plus-sign.patch
blob: 15e111374bd005f113c7f4810e883c86774a90cf (plain) (tree)
1
2
3
4
5
6
7



                                                                        

                       
                     







                                                                            
The following table contains 1 for all characters that are permitted in
the part of the URL before the query parameters and fragment. This patch
adds the plus sign (0x2b) to the list of characters allowed by upstream
which are 0-9a-zA-Z,-./:_~
--- src/althttpd.c.orig
+++ src/althttpd.c
@@ -1213,7 +1213,7 @@
       /*  x0  x1  x2  x3  x4  x5  x6  x7  x8  x9  xa  xb  xc  xd  xe  xf */
 /* 0x */   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
 /* 1x */   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
-/* 2x */   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1,  1,  1,  1,
+/* 2x */   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1,  1,  1,  1,  1,
 /* 3x */   1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  0,  0,  0,  0,  0,
 /* 4x */   0,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,
 /* 5x */   1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  0,  0,  0,  0,  1,