summaryrefslogtreecommitdiff
path: root/execute.c
diff options
context:
space:
mode:
Diffstat (limited to 'execute.c')
-rw-r--r--execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/execute.c b/execute.c
index c1b2d36..f0038fb 100644
--- a/execute.c
+++ b/execute.c
@@ -152,7 +152,7 @@ SDEBUG("xxx %08x %08x",SUHOSIN_G(include_whitelist),SUHOSIN_G(include_blacklist)
152 t = h = (h == NULL) ? h2 : ( (h2 == NULL) ? h : ( (h < h2) ? h : h2 ) ); 152 t = h = (h == NULL) ? h2 : ( (h2 == NULL) ? h : ( (h < h2) ? h : h2 ) );
153 if (h == NULL) break; 153 if (h == NULL) break;
154 154
155 while (t > s && (isalnum(t[-1]) || t[-1]=='_')) { 155 while (t > s && (isalnum(t[-1]) || t[-1]=='_') || t[-1]=='.')) {
156 t--; 156 t--;
157 } 157 }
158 158
@@ -195,7 +195,7 @@ SDEBUG("xxx %08x %08x",SUHOSIN_G(include_whitelist),SUHOSIN_G(include_blacklist)
195 t = h = (h == NULL) ? h2 : ( (h2 == NULL) ? h : ( (h < h2) ? h : h2 ) ); 195 t = h = (h == NULL) ? h2 : ( (h2 == NULL) ? h : ( (h < h2) ? h : h2 ) );
196 if (h == NULL) break; 196 if (h == NULL) break;
197 197
198 while (t > s && (isalnum(t[-1]) || t[-1]=='_')) { 198 while (t > s && (isalnum(t[-1]) || t[-1]=='_') || t[-1]=='.')) {
199 t--; 199 t--;
200 } 200 }
201 201