Menu

#1441 (ok 4.4) Add regexp match when using AllowArbitraryServer

Needs_decision
fixed
None
Normal
2015-04-20
2013-07-17
No

When using config option 'AllowArbitraryServer', any server can be accessed through PMA.
But when this option is used, often servers follow the same form :
- 192.168.0.X
- XXX-mysql
- etc.

It would be useful to add a config option labeled 'ArbitraryServerRegexp' that would consist of a regular expression that the server name must match, if this config option is present.
Examples :

$cfg['ArbitraryServerRegexp'] = '@^192.168.0.[0-9]{1,}$@';
$cfg['ArbitraryServerRegexp'] = '@\-mysql$@';
$cfg['ArbitraryServerRegexp'] = '@^(server1|server2|server3)$@';

Discussion

  • Marc Delisle

    Marc Delisle - 2015-02-15
    • Priority: 5 --> Normal
     
  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: Add regexp match when using AllowArbitraryServer --> (ok 4.4) Add regexp match when using AllowArbitraryServer
    • status: open --> resolved
     
  • Marc Delisle

    Marc Delisle - 2015-04-20
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.