|
[bug] Wrong link: & => &: msg#00966php.drupal.devel
Project: Drupal Version: 4.3.2 Component: poll.module Category: bug reports Priority: normal Assigned to: Anonymous Reported by: marek Updated by: Steven -Status: active +Status: fixed Fixed in 4.3. Steven Previous comments: ------------------------------------------------------------------------ January 10, 2004 - 21:27 : marek Line 216 in poll.module: [?php $url = request_uri() . (strstr(request_uri(), "?") ? "&" : "?") ."pollresults[$node->nid]=1"; ?] should be: [?php $url = request_uri() . (strstr(request_uri(), "?") ? "&" : "?") ."pollresults[$node->nid]=1"; ?] because later htmlentities is used which converts & to & as necessery. ------------------------------------------------------------------------ January 10, 2004 - 23:21 : marek Also request_uri() (lines 206, 213 and 216) returns uri that is converted htmlspecialchars, but then the whole url is encoded with htmlentities() again. -- View: http://drupal.org/node/view/5067 Edit: http://drupal.org/project/comments/add/5067 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [bug] Bad poll url from oldstyle pages: 00966, Steven |
|---|---|
| Next by Date: | [bug] Slight problem with poll: 00966, Steven |
| Previous by Thread: | [feature] Regression/Unit/System Test Hooki: 00966, javanaut |
| Next by Thread: | [bug] Slight problem with poll: 00966, Steven |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |