Ignore:
Timestamp:
Sep 12, 2008, 4:17:35 AM (16 years ago)
Author:
rvelices
Message:
  • images.file categories.permalink old_permalinks.permalink - become binary
  • session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range)
  • metadata sync from the sync button does not overwrite valid data with empty metadata
  • other small fixes/enhancements:
    • added event get_category_image_orders
    • fix display issue with redirect.tpl (h1/h2 within h1)
    • fix known_script smarty function registration
    • query search form not submitted if q is empty
    • better admin css rules
    • some other minor changes (ws_core, rest_handler, functions_search...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_protocols/rest_handler.php

    r2299 r2521  
    3131    foreach ($param_array as $name => $value)
    3232    {
    33       if ($name=='format' or $name=='partner')
     33      if ($name=='format')
    3434        continue; // ignore - special keys
    3535      if ($name=='method')
     
    4646    {
    4747      $service->sendResponse(
    48           new PwgError(400, 'Missing "method" name')
     48          new PwgError(WS_ERR_INVALID_METHOD, 'Missing "method" name')
    4949        );
    5050      return;
Note: See TracChangeset for help on using the changeset viewer.