Menu

#2609 cial links getting a ?phpMyAdmin="45678fgh..." postfix

2.8.2.4
fixed
5
2013-06-11
2007-12-20
Dimmy
No

I am using

phpMyAdmin - 2.8.2.4

* MySQL client version: 4.1.12
* Used PHP extensions: mysql

MySQL - 5.0.46

* Protocol version: 10
* Server: Localhost via UNIX socket
* MySQL Karakterset: UTF-8 Unicode (utf8)
MySQL verbindingscollatie: armscii8_binarmscii8_general_ciascii_binascii_general_cibig5_binbig5_chinese_cibinarycp1250_bincp1250_croatian_cicp1250_czech_cscp1250_general_cicp1251_bincp1251_bulgarian_cicp1251_general_cicp1251_general_cscp1251_ukrainian_cicp1256_bincp1256_general_cicp1257_bincp1257_general_cicp1257_lithuanian_cicp850_bincp850_general_cicp852_bincp852_general_cicp866_bincp866_general_cicp932_bincp932_japanese_cidec8_bindec8_swedish_cieucjpms_bineucjpms_japanese_cieuckr_bineuckr_korean_cigb2312_bingb2312_chinese_cigbk_bingbk_chinese_cigeostd8_bingeostd8_general_cigreek_bingreek_general_cihebrew_binhebrew_general_cihp8_binhp8_english_cikeybcs2_binkeybcs2_general_cikoi8r_binkoi8r_general_cikoi8u_binkoi8u_general_cilatin1_binlatin1_danish_cilatin1_general_cilatin1_general_cslatin1_german1_cilatin1_german2_cilatin1_spanish_cilatin1_swedish_cilatin2_binlatin2_croatian_cilatin2_czech_cslatin2_general_cilatin2_hungarian_cilatin5_binlatin5_turkish_cilatin7_binlatin7_estonian_cslatin7_general_cilatin7_general_csmacce_binmacce_general_cimacroman_binmacroman_general_cisjis_binsjis_japanese_ciswe7_binswe7_swedish_citis620_bintis620_thai_ciucs2_binucs2_czech_ciucs2_danish_ciucs2_esperanto_ciucs2_estonian_ciucs2_general_ciucs2_hungarian_ciucs2_icelandic_ciucs2_latvian_ciucs2_lithuanian_ciucs2_persian_ciucs2_polish_ciucs2_roman_ciucs2_romanian_ciucs2_slovak_ciucs2_slovenian_ciucs2_spanish2_ciucs2_spanish_ciucs2_swedish_ciucs2_turkish_ciucs2_unicode_ciujis_binujis_japanese_ciutf8_binutf8_czech_ciutf8_danish_ciutf8_esperanto_ciutf8_estonian_ciutf8_general_ciutf8_hungarian_ciutf8_icelandic_ciutf8_latvian_ciutf8_lithuanian_ciutf8_persian_ciutf8_polish_ciutf8_roman_ciutf8_romanian_ciutf8_slovak_ciutf8_slovenian_ciutf8_spanish2_ciutf8_spanish_ciutf8_swedish_ciutf8_turkish_ciutf8_unicode_ci

php 5.1.6-3.el4s1.7

when I do an export of the db all internal links like this:

<a href="[~1~]"...>

becomes this :

<a href="[~1~]?phpMyAdmin=LtsNms3Yvlnk6JRBjMLAoPd8Yh3"...> that number is for all the links the same but changes on every export)

the same happens to files:

<a href="assets/files/Leaflet AGF17-12-07.pdf?phpMyAdmin=LtsNms3Yvlnk6JRBjMLAoPd8Yh3"

and in php snippets:

$ptarr[] = ''<a class="B_currentCrumb" href="[~''.$modx-?phpMyAdmin=LtsNms3Yvlnk6JRBjMLAoPd8Yh3>documentIdentifier.''~]" title="''.$descriptionToUse.''">''.$titleToShow.''</a>'';\n

external links like:
<a href="http://www.phpMyAdmin.org/"
do not have this problem.

Discussion

  • Dimmy

    Dimmy - 2007-12-20

    A small part of the export I made showing the altert links

     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580
    Originator: NO

    seems you have cookies disabled, PHP trys to add the session id to every local link

     
  • Marc Delisle

    Marc Delisle - 2007-12-23
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2007-12-23
    • status: open --> pending
     
  • Marc Delisle

    Marc Delisle - 2007-12-23

    Logged In: YES
    user_id=210714
    Originator: NO

    You are saying that the export modifies the content of your data? Can you attach an export produced by another mean, so that we can see your original data and try to reproduce the export problem? Otherwise, attach a file that contains the original data (a smaller example) and the resulting phpMyAdmin export file.

    Under 2.8.2.4, I tried with some original data containing "<a href="[~1~]" and the exported data was not altered.

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed --> fixed