Hi,

I created page in Panels, In panel pages displayed path.Once Clicks the path displayed the related content(Like Block,Views Content).

But i faced one query here,Please help me..!

My Query:

1. This is my Panel page url (localhost/drupal7/testpage ),here displayed content. But i entered un necessary content in page url like (localhost/drupal7/testpage/abcdefghijk)

localhost/drupal7/testpage/abcdefghijk in the url entered wrong content,still i am getting data. Here i want to go 404 pages.

Attached image for reference.

Please help me friends...!

Thanks..!

CommentFileSizeAuthor
image2.png172.17 KBSiriki
image1.png169.97 KBSiriki
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SMK created an issue. See original summary.

Siriki’s picture

Issue summary: View changes
Siriki’s picture

Issue summary: View changes
rashid_786’s picture

In Drupal if you pass any argument, it takes it as valid argument and doesn't treat as unauthorized arguments. To check this, Inside hook_init() you can call drupal_not_found() within some condition using arg().

Siriki’s picture

Thanks Rashid.

I have to check it.

Mingsong’s picture

I developed a module for this purpose.

https://www.drupal.org/project/ctools_valid_path_arguments