Index: trunk/phase3/CREDITS |
— | — | @@ -42,12 +42,13 @@ |
43 | 43 | * Daniel Arnold |
44 | 44 | * Danny B. |
45 | 45 | * Jeremy Baron |
| 46 | +* Juliano F. Ravasi |
46 | 47 | * Louperivois |
| 48 | +* Matt Johnston |
47 | 49 | * Max Semenik |
48 | 50 | * Michael De La Rue |
49 | 51 | * Mike Horvath |
50 | 52 | * Mormegil |
51 | | -* Juliano F. Ravasi |
52 | 53 | * RememberTheDot |
53 | 54 | * ST47 |
54 | 55 | |
Index: trunk/phase3/includes/templates/NoLocalSettings.php |
— | — | @@ -17,6 +17,10 @@ |
18 | 18 | if( isset( $_SERVER['SCRIPT_NAME'] )) { |
19 | 19 | $path = htmlspecialchars( preg_replace('/index.php5?/', '', $_SERVER['SCRIPT_NAME']) ); |
20 | 20 | } |
| 21 | +#Remove filename in path, prevents going to corrupt URLs (e.g. http://server/path/api.phpconfig/index.php) |
| 22 | +if(substr($path, strlen($path)-1) != "/"){ |
| 23 | + $path = substr($path, 0, strrpos($path, "/")+1); |
| 24 | +} |
21 | 25 | ?> |
22 | 26 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
23 | 27 | <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -189,6 +189,8 @@ |
190 | 190 | * (bug 14398) mwsuggest.js: Let width of container be configurable |
191 | 191 | * (bug 15543) Only include user touched timestamp to generated CSS |
192 | 192 | * (bug 15497) Removed encoding attribute from <?xml ?> tag |
| 193 | +* (bug 15544) Wiki not set up message (NoLocalSettings.php) now works for |
| 194 | + non-index.php entry pages (e.g. api.php). Patch by Matt Johnston. |
193 | 195 | |
194 | 196 | |
195 | 197 | === API changes in 1.14 === |